Browse Source
Fix signature verification stoplight triggering on non-timeout errors (#9617)
pull/4/head
Eugen Rochko
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
app/controllers/concerns/signature_verification.rb
|
|
@ -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 |
|
|
|
|
|
|
|