Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thread_pool: change severity of "full queue" msg from error to info #667

Merged
merged 3 commits into from
Oct 6, 2021

Conversation

kyrylo
Copy link
Contributor

@kyrylo kyrylo commented Oct 6, 2021

Some of our users complained that message.inspect "pressures" their server
memory. Indeed, the dumped string can be large (up to 64KB).

Instead, let's change the severity of this message to info, so that it won't
be printed by default. It's not really an error anyway, and the info severity
suits it perfectly.

message.inspect also won't be called by default anymore, since it's wrapped in
a block now.

@kyrylo kyrylo force-pushed the thread-pool-log-fix branch from 08fa442 to beb8f33 Compare October 6, 2021 17:58
kyrylo added 3 commits October 6, 2021 21:08
Some of our users complained that `message.inspect` "pressures" their server
memory. Indeed, the dumped string can be large (up to 64KB).

Instead, let's change the severity of this message to `info`, so that it won't
be printed by default. It's not really an error anyway, and the `info` severity
suits it perfectly.

`message.inspect` also won't be called by default anymore, since it's wrapped in
a block now.
@kyrylo kyrylo force-pushed the thread-pool-log-fix branch from 12fca79 to d873edb Compare October 6, 2021 18:08
@kyrylo kyrylo merged commit 7a47bf0 into master Oct 6, 2021
@kyrylo kyrylo deleted the thread-pool-log-fix branch October 6, 2021 18:12
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.

1 participant