Update PipelineNotificationWorker to utilize new Sidekiq readonly database replicas capabilities
With the ability to Allow Sidekiq jobs to use readonly database replicas in place, the next step will be to enable this capability for this worker.
For more context, please check the following links,
- Slides: https://slides.com/nikolamilojevic/deck-eb7ff8/fullscreen
- A recorded Show and Tell introducing Sidekiq Load Balancing, https://youtu.be/PAJ8nvG1AGA
- Documentation(WIP): !59397 (merged)
- An example of shifting a Sidekiq worker to database replica: #324377 (closed)
Proposal
We should probably use :sticky
here since this is a high urgency job.
It's not idempotent, so it should be easier to switch to :sticky
.
Edited by Jackie Porter