HomePhabricator

[faucet] Allow to retry upon request failure

Description

[faucet] Allow to retry upon request failure

Summary: The actual IP rate limit will prevent a failed request from being retried until the window (default 24h) expired. There are circumstances where this is not desirable, e.g. if the user had a typo in the address and validation failed. We only want to allow 1 successful request per day so let's do exactly that.

Test Plan: Read the doc for this option: https://express-rate-limit.mintlify.app/reference/configuration#skipfailedrequests

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D16976

Details

Provenance
FabienAuthored on Thu, Oct 24, 08:04
FabienPushed on Thu, Oct 24, 13:35
Reviewer
Restricted Project
Differential Revision
D16976: [faucet] Allow to retry upon request failure
Parents
rABC4d927831191e: [faucet] Add a docker config for the faucet
Branches
Unknown
Tags
Unknown