Skip to content

Comments

eventbus: change slow consumer event from error to warn#3286

Merged
sukunrt merged 1 commit intomasterfrom
slow-consumer-event-warn
May 15, 2025
Merged

eventbus: change slow consumer event from error to warn#3286
sukunrt merged 1 commit intomasterfrom
slow-consumer-event-warn

Conversation

@guillaumemichel
Copy link
Contributor

Change event bus slow consumer event logging from ERROR to WARN.

WARN seems more appropriate since this isn't an error.

Closes ipfs/kubo#10778

@guillaumemichel guillaumemichel requested a review from sukunrt May 7, 2025 08:02
Copy link
Collaborator

@MarcoPolo MarcoPolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should also increase the slowConsumerWarningTimeout time form 1s to 5s(?)

@sukunrt sukunrt merged commit c1c7745 into master May 15, 2025
10 of 11 checks passed
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.

libp2p slow consumer events

3 participants