Commit 9aa3f0c
authored
Fix shutdown order of worker and enqueuer (#501)
Enqueuer should be started before worker and shutdown after worker, as
worker drainer might keep the worker process alive for
`shutdown_timeout` and during that period, any enqueue operation
inside the worker process will fail1 parent a6b020b commit 9aa3f0c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments