mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
fix(electron-backend): process zero-delay database cancellation (#1295)
This commit is contained in:
1 parent
a2d678bdda
commit
5932e71cb9
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