summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Griffith <dyl.griffith@gmail.com>2018-02-13 16:08:02 +1100
committerDylan Griffith <dyl.griffith@gmail.com>2018-02-13 16:08:02 +1100
commite8648270affc4954f619aa7bd64a2f6e988f8a8a (patch)
tree002c4635d04f6f7cad5af2408cd5123a8f44a6b5
parent498ade4801a822f8704390b10d178af9fe7987cb (diff)
downloadgitlab-ce-e8648270affc4954f619aa7bd64a2f6e988f8a8a.tar.gz
Document all_queues.yml in sidekiq_style_guide.md
-rw-r--r--doc/development/sidekiq_style_guide.md3
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..b3e74fc71cc 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 `gitlab/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.