Conditionally raise when lease cannot be obtained
When we fail to obtain a lease, only allow the error to be raised if the hook's failure state needs to be updated. This will have the effect that the worker that calls the service will only retry when it needs to. https://gitlab.com/gitlab-org/gitlab/-/merge_requests/81770#note_856943572
Showing
Please register or sign in to comment