Skip to content

Simplify logic to timeout custom metric form validation request

What does this MR do?

The current logic doesn't set the timeout in the call to backoff (it defaults to 60 seconds), but limits the number of requests to 4.

This MR sets the timeout to 10 seconds which results in 4 requests, and removes the logic to limit the number of requests.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by 🤖 GitLab Bot 🤖

Merge request reports