summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-10-17 07:07:22 +0000
committerClaude <noreply@anthropic.com>2026-10-17 07:07:22 +0000
commit203e8a6d9e2392f991936b2a6dbdc7dc05cdc3c9 (patch)
tree3577f475177d53a2cc115a3fffc7164f7a09d2d9 /server
parent6c4d40ef9b0556a9071a3cfbcfa58878433e8996 (diff)
Refresh skips with bounded concurrency, not one at a time
The sweep awaited each episode's server query sequentially, and it runs on every refresh including the library button. Several hundred downloaded episodes meant a tap that used to take seconds took minutes, and under WorkManager it risked being killed partway -- the same shape as the ten-minute ceiling that stopped FingerprintWorker ever confirming. Six at a time, through a semaphore inside the call's own coroutineScope so nothing escapes to a background dispatcher. Per-episode failure isolation is unchanged; CancellationException is rethrown rather than caught, the bug already fixed once in skipFurniture(). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018AwnALZL6bD4VBtATDVv3B
Diffstat (limited to 'server')
0 files changed, 0 insertions, 0 deletions