Skip to content
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

Added initWithPath: to better facilitate multiple queues. #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

spazision
Copy link

EDQueue doesn't support assigning priorities to jobs. The easiest workaround IMO is multiple queues, where the "low priority" jobs (which are assumed to be more numerous) are put into the sharedInstance() queue, and the "high priority" jobs (which are assumed to be less numerous) are put into a custom instance with a different path.

@cbh2000
Copy link

cbh2000 commented Sep 8, 2015

Duplicate of #9. Probably better to add priorities to queue internally, but this is a good workaround in the mean time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants