diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-02-13 15:26:12 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-02-13 15:26:12 +0000 |
commit | bf5e617a10e8df48ff78442f42f2cd6e47f59072 (patch) | |
tree | 3d5a1537bf29e6fab0e92a16969e632b789fa148 | |
parent | 16908f9718820dd651faa61396fedb997d10eadd (diff) | |
parent | bbcc18080b90bb21465d8b843f93703eca4a7c6f (diff) | |
download | gitlab-ce-bf5e617a10e8df48ff78442f42f2cd6e47f59072.tar.gz |
Merge branch 'document-all-queues-yml' into 'master'
Document all_queues.yml in sidekiq_style_guide.md
See merge request gitlab-org/gitlab-ce!17079
-rw-r--r-- | doc/development/sidekiq_style_guide.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/development/sidekiq_style_guide.md b/doc/development/sidekiq_style_guide.md index 59ebf41e09f..76ff51446ba 100644 --- a/doc/development/sidekiq_style_guide.md +++ b/doc/development/sidekiq_style_guide.md @@ -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 manually override the queue name using `sidekiq_options queue: :some_queue`. +You must always add any new queues to `app/workers/all_queues.yml` otherwise +your worker will not run. + ## Queue Namespaces While different workers cannot share a queue, they can share a queue namespace. |