Commit 9579fbc
fix: increase processWorkerQueueDebounceMs in priority test to prevent race condition
With PrismaPg adapter overhead, each trigger() call takes longer than with
the old Rust engine. A 50ms processWorkerQueueDebounceMs causes the background
processQueueForWorkerQueue job to fire between individual triggers, moving
items to the worker queue one-by-one in arrival (FIFO) order instead of
waiting for all items to be in the master queue and moving them collectively
in priority order.
Increase to 10s so the test's manual processMasterQueueForEnvironment call
controls the ordering.
Co-Authored-By: Eric Allam <eallam@icloud.com>1 parent d00e5ca commit 9579fbc
File tree
1 file changed
+6
-1
lines changed- internal-packages/run-engine/src/engine/tests
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| |||
0 commit comments