Page MenuHomePhabricator

[faucet] Allow to retry upon request failure
ClosedPublic

Authored by Fabien on Oct 24 2024, 08:05.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC9856864d5e0e: [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

Diff Detail

Repository
rABC Bitcoin ABC
Branch
faucet_retry
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 30795
Build 61104: Build Diff
Build 61103: arc lint + arc unit