Skip to content
  • Furkan Ayhan's avatar
    Fix retry-lock problem on pipeline cancel · 85c29981
    Furkan Ayhan authored
    Having the "retries" parameter nil causes an error on
    Gitlab::OptimisticLocking when comparing retry_attempts < max_retries.
    So we need to change its default value. We can make it `0`,
    but I think it's better to have `1` to have a "secure" cancel mechanism.
    
    Changelog: fixed
    85c29981