aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/analytics.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-16 04:53:22 -0700
committerAdam Soltys <[email protected]>2026-09-16 04:53:22 -0700
commitd6d926b033e1430844b268a3392729c5c68ea389 (patch)
tree742de96c43cdb47b3deaec1ea86b26d747c59ee3 /scripts/analytics.ts
parentc72fa2a5ccf1cc04073f9ff12606491971dadd36 (diff)
downloadcoinos-server-d6d926b033e1430844b268a3392729c5c68ea389.tar.gz
coinos-server-d6d926b033e1430844b268a3392729c5c68ea389.zip
mintdemux: forward the client's rate-limit key on keyset fetches
Keyset fetches counted against the demux's own socket IP at both mints, so the shared per-IP bucket tripped under load and wallets received an empty keyset list. Forward the client's key, serve each mint's last-good list when its upstream fails, and mark the demux's own hourly refresh as loopback so the mints' limiter exempts it. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'scripts/analytics.ts')
0 files changed, 0 insertions, 0 deletions