Add read-only feature flag for sidekiq memory killer
What does this MR do and why?
It introduces sidekiq_memory_killer_read_only_mode
featur flag. It allow us to turn off restarts for sidekiq memory killer.
This way, we can safely fine-tune SIDEKIQ_MEMORY_KILLER_GRACE_TIME
and SIDEKIQ_MEMORY_KILLER_MAX_RSS
, see when memory killer kicks in, make sure that it's not configured to trigger too aggresively, and enable restarting process again.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #374754 (closed)
Edited by Nikola Milojevic