Files
pezkuwi-telegram-miniapp/supabase/functions
SatoshiQaziMuhammed c0c8ba074e check-deposits: one TronGrid request at a time, at most 4 a second, from a rotating start (#35)
The 429 body logged by the previous change reads: 'The key exceeds the
frequency limit(15), and the query server is suspended for 27 s'. The run sent
batches of 8 at once, which tripped it although it averaged about 7 a second,
and the suspension outlasted the 1 s and 2 s retries, which never recovered a
request.

Requests now go one at a time, at most 4 a second. The retries are removed.
Each run starts at a different user, so a run that does hit the limit stops
at a different place each time instead of always skipping the same users.
2026-10-18 16:05:14 +04:00
..