Fix retry-lock problem on pipeline cancel
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
Showing
Please register or sign in to comment