Open christophermaier opened 6 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.
Description
Lifecycle hooks currently run synchronously in the main Supervisor loop. This is Bad(TM), because it leaves open the possibility of a misbehaving hook of one service to block the loop for everyone. When this happens the supervisor will no longer respond to commands or be able to manage any other services until that hook completes.
It would be better to handle this asynchronously.
Acceptance Criteria
post-run
hook no longer blocksinit
hook no longer blocksfile-updated
hook no longer blockshealth-check
hook no longer blockspost-run
hook no longer blocksreconfigure
hook no longer blockssuitability
hook no longer blocks