Skip to content

fix: Do not register listener when not in console - #1577

Merged
artonge merged 1 commit into
masterfrom
artonge/optim/dont_register_listener_if_not_console
Mar 26, 2025
Merged

fix: Do not register listener when not in console#1577
artonge merged 1 commit into
masterfrom
artonge/optim/dont_register_listener_if_not_console

Conversation

@artonge

@artongeartonge commented Mar 26, 2025

Copy link
Copy Markdown
Contributor

@artongeartonge self-assigned this Mar 26, 2025
@artongeartonge added the bug label Mar 26, 2025
@artongeartonge added this to the Nextcloud 32 milestone Mar 26, 2025
Registering the listener no matter what defeats the perf optimisation done here: https://github.com/nextcloud/server/blob/cb7c82c13d5d6cf0b21b4499365460c605936c5a/lib/private/Log.php#L331-L337
Signed-off-by: Louis Chemineau <louis@chmn.me>
@artonge
artongeforce-pushed the artonge/optim/dont_register_listener_if_not_console branch from 5062634 to 16bd650CompareMarch 26, 2025 10:17
@artonge
artonge merged commit b4a7c02 into masterMar 26, 2025
@artonge
artonge deleted the artonge/optim/dont_register_listener_if_not_console branch March 26, 2025 19:40
@artonge

Copy link
Copy Markdown
ContributorAuthor

/backport to stable31

@artonge

Copy link
Copy Markdown
ContributorAuthor

/backport to stable30

@artonge

Copy link
Copy Markdown
ContributorAuthor

/backport to stable29

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@artonge@icewind1991@skjnldsv