Limit retries for SAST FP worker to 5

What does this MR do and why?

Reduce the number of retries for the sidekiq worker Vulnerabilities::TriggerFalsePositiveDetectionWorkflowWorker to 5, default is 25. This is to prevent retries and the queue building up because of this. The retries are majorly happening because of the error being thrown by a service Ai::DuoWorkflows::StartWorkflowService, we can remove this retry count limit until the issue https://gitlab.com/gitlab-org/gitlab/-/issues/584239 is fixed.

References

https://gitlab.com/gitlab-org/gitlab/-/issues/584239

Screenshots or screen recordings

Before After

How to set up and validate locally

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 Hitesh Raghuvanshi

Merge request reports

Loading