Browse Source

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

pull/4/head
Eugen Rochko 5 years ago
committed by GitHub
parent
commit
17cd91c777
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/controllers/concerns/signature_verification.rb

+ 1
- 0
app/controllers/concerns/signature_verification.rb View File

@ -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

Loading…
Cancel
Save