Job priority and background processing #9

merged 1 commit into from Feb 25, 2013


None yet
2 participants

alz commented Feb 23, 2013

Adds options to submitJob for priority (high, low, default: none), and background. Examples:

// High Priority
var options = {priority: "high"};
gearman.submitJob("task", data, uniq, options);

// Low Priority, Background
var options = {priority: "low", background: true};
gearman.submitJob("task", data, uniq, options);

andris9 added a commit that referenced this pull request Feb 25, 2013

Merge pull request #9 from alz/master
Job priority and background processing

@andris9 andris9 merged commit e578d3b into andris9:master Feb 25, 2013

1 check failed

default The Travis build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment