Update sidekiq_style_guide.md with removing or renaming queues instructions

This commit is contained in:
Dmitriy Zaporozhets 2017-07-21 07:20:35 +00:00
parent eaceee0fb9
commit 5d90de1cb2
1 changed files with 7 additions and 0 deletions

View File

@ -36,3 +36,10 @@ slow jobs blocking work (even for different jobs) on the shared queue.
Each Sidekiq worker must be tested using RSpec, just like any other class. These
tests should be placed in `spec/workers`.
## Removing or renaming queues
Try to avoid renaming or removing queues in minor and patch releases.
During online update instance can have pending jobs and removing the queue can
lead to those jobs being stuck forever. If you can't write migration for those
sidekiq jobs, please consider doing rename or remove queue in major release only.