Commit a9417a2
committed
The cache supervisor boot step was starting the process directly via
the `start_link` function. This is error prone as we are not sure
about the life-cycle of the bootstrap process.
It appeared to work during a proper bootstrap of the broker but was
faulty when enabling the plugin on a running one.
This patch starts the cache supervisor as a child of the main rabbit
supervisor process correctly ensuring its management.
Signed-off-by: Matteo Cafasso <[email protected]>
1 parent ca8b27d commit a9417a2
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 31 | + | |
35 | 32 | | |
36 | 33 | | |
37 | 34 | | |
| |||
0 commit comments