Fix signature verification stoplight triggering on non-timeout errors (#9617)
parent
8be0843467
commit
17cd91c777
|
@ -47,6 +47,7 @@ module SignatureVerification
|
||||||
.with_fallback { nil }
|
.with_fallback { nil }
|
||||||
.with_threshold(1)
|
.with_threshold(1)
|
||||||
.with_cool_off_time(5.minutes.seconds)
|
.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
|
account = account_stoplight.run
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue