-
Notifications
You must be signed in to change notification settings - Fork 70
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
Add internal_query_count_limit
configuration
#63
Add internal_query_count_limit
configuration
#63
Conversation
It can be configured via ```ruby MissionControl::Jobs.internal_query_count_limit = 5_000 ``` or ```ruby config.mission_control.jobs.internal_query_count_limit = 5_000 ```
It appears that only the Solid Queue adapter implements an internal query count limit. The Resque adapter doesn't have a similar functionality
At the moment, only the Solid Queue adapter implements this configuration. Are there any plans to implement an internal count limit for the Resque adapter too? If not, maybe this |
Not really, because Resque doesn't have a problem with counting jobs like Solid Queue has, thanks to the
Yes, I think that could work, but I'd prefer to delay (or even avoid completely) having per-adapter configuration options if possible. Having the option doesn't mean the adapter needs to use it, so I think it's ok to leave it like this, without modifying Resque. |
…nt_limit` Co-authored-by: Rosa Gutierrez <rosa.ge@gmail.com>
I agree!
Yeah, that makes sense 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thank you so much 🙏
This allows the internal count limit in Solid Queue to be configured using an
internal_query_count_limit
option.The default value is
500,000
.