Skip to content

Commit

Permalink
Specify behaviour of a process with no queue option set
Browse files Browse the repository at this point in the history
Closes #425.
  • Loading branch information
JasonBarnabe committed Mar 20, 2017
1 parent e3772d4 commit 211e042
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@ Configured queue priorities can be overriden by passing priority to the delay me
object.delay(:queue => 'high_priority', priority: 0).method
```

You can start processes to only work certain queues with the `queue` and `queues`
options defined below. Processes started without specifying a queue will run jobs
from **any** queue. To effectively have a process that runs jobs where a queue is not
specified, set a default queue name with `Delayed::Worker.default_queue_name` and
have the processes run that queue.

Running Jobs
============
`script/delayed_job` can be used to manage a background process which will
Expand Down

0 comments on commit 211e042

Please sign in to comment.