Document all_queues.yml in sidekiq_style_guide.md
This commit is contained in:
parent
498ade4801
commit
e8648270af
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,9 @@ would be `process_something`. If you're not sure what queue a worker uses,
|
||||||
you can find it using `SomeWorker.queue`. There is almost never a reason to
|
you can find it using `SomeWorker.queue`. There is almost never a reason to
|
||||||
manually override the queue name using `sidekiq_options queue: :some_queue`.
|
manually override the queue name using `sidekiq_options queue: :some_queue`.
|
||||||
|
|
||||||
|
You must always add any new queues to `gitlab/app/workers/all_queues.yml`
|
||||||
|
otherwise your worker will not run.
|
||||||
|
|
||||||
## Queue Namespaces
|
## Queue Namespaces
|
||||||
|
|
||||||
While different workers cannot share a queue, they can share a queue namespace.
|
While different workers cannot share a queue, they can share a queue namespace.
|
||||||
|
|
Loading…
Reference in a new issue