mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 18:11:16 +01:00
The limits ride along on every response, so learning them from the first scrape response meant the opening requests of a scan ran at the default one thread and 50 requests per minute, and the quota only became visible once a platform finished. ssuserInfos.php reports the same ssuser block up front. Unlike the scraping endpoints it does not consume the daily quota (measured: two reads 90s apart moved requeststoday by 0), so a scan can ask once at startup and pace itself correctly from the first request, logging the quota and the SCAN_WORKERS advisory before the first ROM is touched. Best effort: a refused or unreachable lookup logs a warning and the scan carries on.