diff options
| author | Adam Soltys <[email protected]> | 2026-07-10 22:56:12 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-07-10 22:56:12 -0700 |
| commit | b9791efba00cd00837699fba92a8d27528968395 (patch) | |
| tree | 512a935a315227f572b2e53d7ee5f0d304475ac7 /server | |
| parent | 7d8cd769e6cf91dda70fdf06db72a0b03e263dd7 (diff) | |
| download | coinos-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 'server')
0 files changed, 0 insertions, 0 deletions
