InVisionApp / go-health

Library for enabling asynchronous health checks in your service
MIT License
750 stars 58 forks source link

set active flag to false on stop #77

Open F1bonacc1 opened 2 years ago

F1bonacc1 commented 2 years ago

In the Stop function I added:

h.active.setFalse()

This allows the checkers to go from Started to Stopped to Started again. Before the change, once stopped, the checkers couldn't be started again.