Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

Add Basic Support for Job Deferrals #2

Merged
merged 2 commits into from
Nov 20, 2014
Merged

Add Basic Support for Job Deferrals #2

merged 2 commits into from
Nov 20, 2014

Conversation

nzwalker
Copy link

This adds the capability for the worker to poll for deferred jobs. Deferred jobs have an associated timestamp, which determines that they should be executed once the current time is greater than the timestamp.

Items in the deferred queue have the same payload as regular jobs, but with an additional "queue" key. This allows the worker to determine which queue the deferred job should be placed on.

nzwalker pushed a commit that referenced this pull request Nov 20, 2014
Add Basic Support for Job Deferrals
@nzwalker nzwalker merged commit 46aaefa into master Nov 20, 2014
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.

1 participant