mirror of
https://github.com/recklessop/Zerto_Exporter.git
synced 2026-07-02 23:53:13 -04:00
gitignore and a sleep time for liveness checker
This commit is contained in:
@@ -638,6 +638,7 @@ webserver_thread = start_thread(WebServer)
|
||||
# loop indefinitely
|
||||
while True:
|
||||
# check if any thread has crashed
|
||||
sleep(2)
|
||||
if not probe_thread.is_alive():
|
||||
# restart the thread
|
||||
log.error("Probe Thread Died - Restarting")
|
||||
|
||||
Reference in New Issue
Block a user