Commit 9ef3e3e
committed
Add
When the DLX worker exits gracefully (e.g., `{shutdown, queue_leader_down}`
on leadership change), a `transient` child is not restarted and does not
trip the intensity counter. Without `auto_shutdown`, the worker_sup
survives as an empty orphan under the sup_sup.
Marking the worker as `significant => true` and the supervisor as
`auto_shutdown => any_significant` ensures the worker_sup self-terminates
when its worker exits gracefully. Same pattern as `rabbit_channel_sup`.auto_shutdown => any_significant to rabbit_fifo_dlx_worker_sup
1 parent b48e85c commit 9ef3e3e
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
0 commit comments