Selaa lähdekoodia

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

master
Eugen Rochko 5 vuotta sitten
committed by GitHub
vanhempi
commit
17cd91c777
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. +1
    -0
      app/controllers/concerns/signature_verification.rb

+ 1
- 0
app/controllers/concerns/signature_verification.rb Näytä tiedosto

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



Ladataan…
Peruuta
Tallenna