Skip to content

fix(relay): drop per-broadcast info logs in broadcast_to_clients - #95

Merged
wolfy-j merged 1 commit into
wippyai:masterfrom
xepozz:fix/relay-drop-broadcast-info-logs
Jul 27, 2026
Merged

fix(relay): drop per-broadcast info logs in broadcast_to_clients#95
wolfy-j merged 1 commit into
wippyai:masterfrom
xepozz:fix/relay-drop-broadcast-info-logs

Conversation

@xepozz

@xepozz xepozz commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

broadcast_to_clients logs at info on every call and once per connected client. When log streaming is enabled (logmanager.stream_to_events) and a client subscribes to the live log topic over this same relay, each broadcast log re-enters the stream and is re-broadcast to that subscriber — which logs again. The result is a self-amplifying flood of "broadcasting topic to clients" whenever a log viewer is open (client_count grows, topic = the log topic).

This removes the two info logs in broadcast_to_clients. The fan-out (process.send) is unchanged; connect/disconnect/plugin/pg/error logging is untouched. Coordinated with the maintainer.

broadcast_to_clients logged at info on every call and once per connected
client. When log streaming is enabled and a client subscribes to the live log
topic over this same relay, each broadcast log re-enters the stream and is
re-broadcast, self-amplifying into a flood. Remove the two info logs; the
fan-out (process.send) is unchanged, and connect/disconnect/error logging stays.
@wolfy-j
wolfy-j merged commit 292c805 into wippyai:master Jul 27, 2026
19 checks passed
@xepozz
xepozz deleted the fix/relay-drop-broadcast-info-logs branch July 27, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants