-
Notifications
You must be signed in to change notification settings - Fork 437
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
Disable sleep while queue items available #1250
Disable sleep while queue items available #1250
Conversation
…requests add subscription_interval as config for dbal subscription consumer
…continue processing the queues!
I like! |
I've hesitated with merging this because I am not sure I can spot all the possible scenario and bugs it might introduce. On the other hand, I dont want to be a blocker for improvements. I can merge if you are sure it works well. Please tell. |
@makasim we are using it in a productive environment already since the 10th January 2022 and we have daily between 200.000 and 300.000 items in ~40 queues. Based on that I am 100% sure that it works! :) |
@mordilion thanks! |
@makasim thanks for merging it :) |
This change is disabling the Subscription-Polling-Sleep as long there are items in queues. If there are no items in queues, then the gathering of items is not constantly penetrating the Database.
We are using it already in our production environment and it works perfectly fine without any Database issues.