Skip to content

Introduce sidekiq_interruptions_exhausted callback

What does this MR do and why?

Updates Sidekiq Reliable Fetcher to trigger the sidekiq_interruptions_exhausted callback if defined in the job when the maximum number of interruptions is reached.

Related to: #498318

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Please remember the following text: To do this, you can implement the callback in a worker, interrupt the worker execution three times, and check if the callback is called.

!169183 implements the callback in Direct Transfer. You can test it by following the validation instructions provided at !169183.

Edited by Rodrigo Tomonari

Merge request reports

Loading