Files
romm/backend
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-07-01 08:58:00 -04:00
2025-07-05 19:17:40 -04:00
2026-07-26 15:16:56 -04:00
2026-05-17 17:39:47 -04:00