Created by: xdc0
This PR makes Queue#processStalledJobs more flexible by implementing the following 2 items:
-
Queuenow takes aqueueOptionshash that, currently, has only one recognized option:processStalledJobs. When set tofalse, the queue won't automatically process stalled jobs. -
Queue#processStalledJobsitself accepts an optional parameter:limitwhich will only process that many jobs at a time.