aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-07-10 22:56:12 -0700
committerAdam Soltys <[email protected]>2026-07-10 22:56:12 -0700
commitb9791efba00cd00837699fba92a8d27528968395 (patch)
tree512a935a315227f572b2e53d7ee5f0d304475ac7 /scripts
parent7d8cd769e6cf91dda70fdf06db72a0b03e263dd7 (diff)
downloadcoinos-server-b9791efba00cd00837699fba92a8d27528968395.tar.gz
coinos-server-b9791efba00cd00837699fba92a8d27528968395.zip
rates: source Iranian IRR/IRT from Wallex, decoupled from the tick loop
apiv2.nobitex.ir became unreachable from our egress, and it was fetched inline on every binance tick, so it failed and logged on every tick. Move the Iranian market-rate fetch onto its own 60s timer with a request timeout, cache the last-good value (falling back to the fixer rate after an hour), and throttle failure logging. Switch the source to Wallex (api.wallex.ir BTCTMN), which is reachable. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions