-
Notifications
You must be signed in to change notification settings - Fork 18
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
worker jobs not running frequently #29
Comments
Reopening, because after I ran Workaround - what if rethink our strategy for fetching. Perhaps something like this:
This would have the effect of spreading the queue-filling load, hopefully leaving time for the queue to empty out a bit. It wouldn't reduce the number of DB handles open (one for each worker). |
Yes it is probably all the DB connections or all the adding to the queue. Another option would be to refactor the DB logic to have less connections open somehow. I won't have time to do this until the holidays. Feel free to take a stab at it in the meantime. |
split off to a new issue to try solving. |
I set up a flower monitor for our redis queue and the jobs are running super slowly - just one job every two minutes or so! :-(
At first I thought maybe some service was slow - but this chart suggests the job ran quickly, but took forever to get pulled off the queue to be executed, right?
The text was updated successfully, but these errors were encountered: