Skip to content
Snippets Groups Projects
Unverified Commit 17cd91c7 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix signature verification stoplight triggering on non-timeout errors (#9617)

parent 8be08434
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,7 @@ module SignatureVerification
.with_fallback { nil }
.with_threshold(1)
.with_cool_off_time(5.minutes.seconds)
.with_error_handler { |error, handle| error.is_a?(HTTP::Error) ? handle.call(error) : raise(error) }
account = account_stoplight.run
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment