-
Notifications
You must be signed in to change notification settings - Fork 344
0007 gauge daemon polls parent process status
nehashri edited this page Sep 25, 2017
·
1 revision
This ADR has been recorded retrospectively.
Accepted
When gauge daemon is started by IDE, the gauge process is created as a child process of the IDE. This is to ensure that gauge daemon is kill when the IDE is closed. But sometimes in Visual Studio, this would not happen correctly. The gauge daemon would still be running as an orphan process even after closing the IDE.
Gauge daemon should continuously poll for the status of the To fix this, gauge runs a separate go routine, which keeps checking if the parent process is still alive. If it finds that the parent process has been killed, gauge kills itself. Refer this issue for the fix.
Copyright © ThoughtWorks Inc.