Loading
Remove bulk_stick for safety net project_authorization refresh
What does this MR do and why?
Remove bulk_stick for safety net project_authorization refresh
bulk_stickwrites one Redis key per user ID, so the cost scales with the user count and group-wide refreshes pass thousands of IDs.- The entries expire after 30 seconds while the
LOW_PRIORITYrefreshes are scheduled to run an 1 hour later, so nothing reads them. Similar case forMEDIUM_PRIORITY. - Hence, only do this when the job is
HIGH_PRIORITYwhose target duration is 10 sec.
References
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Hinam Mehra