Skip to main content

RETRY_WARN_ATTEMPTS

Constant RETRY_WARN_ATTEMPTS 

Source
pub(crate) const RETRY_WARN_ATTEMPTS: usize = 5;
Expand description

How many attempts of a failed worker command log at warn level before later attempts log at error level. With the retry backoff starting at 125ms, the first error-level attempt comes about 4s after the first failure, so a Kubernetes API error that clears on retry, such as a new service account’s RBAC that has not yet propagated, does not reach Sentry.