Skip to content

Add logging if queue is full#145

Merged
f2prateek merged 1 commit intomasterfrom
add-queue-full-logging
Jan 11, 2018
Merged

Add logging if queue is full#145
f2prateek merged 1 commit intomasterfrom
add-queue-full-logging

Conversation

@rohitpaulk
Copy link
Copy Markdown
Collaborator

#108, with two changes:

  • Only logs when the queue is indeed full, not when it is almost full
  • The log is a warning instead of an error. The return value (true/false), and the queued_messages value can be used to recover from this situation.

Comment thread .rubocop_todo.yml
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 223
Max: 229
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I tried to reduce this by using common fields, but found a few places where we seem to be off-spec. Will do this in a separate PR.

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