gitignore and a sleep time for liveness checker

This commit is contained in:
justin committed 2023-03-23 11:39:44 -04:00
1 parent d07b949825
commit b985e8885c
2 files changed
+3

No files matched your search

+2
View File
@@ -6,3 +6,5 @@ app/statsmetrics
app/statsmetrics.txt
app/threads
app/threads.txt
app/vrametrics
app/vrametrics.txt
+1
View File
@@ -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")