Files
romm/backend/endpoints
Georges-Antoine Assi 73e0e0390f perf(scan): coalesce the progress reports a scan publishes
Every counter change wrote the rq job meta (a synchronous redis call on
the event loop) and published a socket event. That was two round trips
per rom, and since quick scans stopped skipping the roms they already
know, every rom in the library pays them: 40k round trips on a 20k
library where 200 used to do, all serialized behind the stats lock.

Counters stay exact on every increment; only the reporting is coalesced,
to one report per 250ms. Totals and platform counts still report as they
happen, being rare, and a scan flushes anything held back before it says
it is done.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-03 21:14:29 -04:00
..
2026-03-08 14:51:28 -04:00
2026-03-15 11:25:39 -04:00
2026-06-21 17:42:25 -04:00
2026-07-23 14:44:56 -04:00
2025-12-07 16:34:22 -05:00