Files
threshold/internal/cmd/commands
Chris MarchesiandJeff Mitchell 947dc96b30 server: Add back controller shutdown on worker startup failure (#1432)
* server: Add back controller shutdown on worker startup failure

This adds back the controller shutdown call on worker failure.

This was added in a15961e4 to address a panic discovered in testing, and
was mistakenly thought to be unnecessary. This, however, covers
multi-role scenarios where we have already started the controller, which
needs to be shut down gracefully if possible if we can't start the
worker.

A nil check has been added to ensure the panic does not resurface.

Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com>
2021-08-02 12:35:57 -04:00
..
2021-07-14 17:38:52 -07:00
2021-07-14 17:38:52 -07:00
2021-07-14 17:37:40 -07:00
2021-07-14 17:37:40 -07:00
2021-07-14 17:31:58 -07:00
2021-07-14 17:37:40 -07:00
2021-07-14 17:37:40 -07:00
2021-07-14 17:37:40 -07:00
2021-07-14 17:37:40 -07:00
2021-07-14 17:37:40 -07:00
2021-07-14 17:37:40 -07:00
2021-07-14 17:37:40 -07:00
2021-07-14 17:37:40 -07:00
2021-07-14 17:37:40 -07:00