mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-16 06:06:18 -08:00
fix(electron-backend): process zero-delay database cancellation
This commit is contained in:
1 parent
518964c57f
commit
d35d27e8d6
4 files changed
+193
-1
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user