Update Deployments::HooksWorker to utilize new Sidekiq readonly database replicas
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)
Edited by Changzheng Liu