Commit 9e5f8b0
committed
refactor(workers): extract default workers timeout into named constant
Address review feedback on #5545: replace the magic literal `600000` in
`_getWorkersTimeoutMs()` with a module-level `WORKER_TIMEOUT_MINUTES`
constant and an explicit `* 60 * 1000` conversion, so the default value
reads as "10 minutes" at the call site.
No behavior change — default still resolves to 600000 ms.1 parent a1d8166 commit 9e5f8b0
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
518 | 520 | | |
519 | 521 | | |
520 | 522 | | |
521 | | - | |
| 523 | + | |
522 | 524 | | |
523 | 525 | | |
524 | 526 | | |
| |||
0 commit comments