fix(electron-backend): process zero-delay database cancellation (#1295)

This commit is contained in:
4gray authored and GitHub committed 2026-07-27 21:59:20 +02:00
1 parent a2d678bdda
commit 5932e71cb9
4 files changed
+193 -1

No files matched your search

+4 -1
View File
@@ -723,7 +723,10 @@ For deterministic E2E timing, tests may set:
IPTVNATOR_DB_WORKER_BATCH_DELAY_MS=20
```
This delay is test-only and disabled by default.
This artificial delay is test-only and disabled by default. At the default
value of `0`, every cancellable batch checkpoint still yields one event-loop
turn without adding a timer delay. That yield lets the worker receive a queued
cancel message before starting the next batch.
### Useful verification commands