Skip to content
This repository was archived by the owner on Jun 5, 2023. It is now read-only.

Conversation

@dcosson
Copy link
Contributor

@dcosson dcosson commented Oct 28, 2013

I had a problem where the scheduler stopped for a while so the delayed jobs started backing up. When the scheduler came back up each call to get_next_timestamp was returning the full set of timestamps, which became huge. I was burning through the backlog at a rate of only a couple of jobs per second; after applying this patch that jumped to a couple hundred.

only the first item in that list is ever used
@Whitespace
Copy link

👍

binarymatt added a commit that referenced this pull request Oct 28, 2013
Don't send extra data when getting the next delayed timestamp
@binarymatt binarymatt merged commit 61fa5ea into binarymatt:master Oct 28, 2013
@binarymatt
Copy link
Owner

thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants