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

This commit is contained in:
4gray committed 2026-07-27 21:30:29 +02:00
1 parent 518964c57f
commit d35d27e8d6
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