From b985e8885c77c6b77b6ca27c9efb4733ed72770d Mon Sep 17 00:00:00 2001 From: Justin Paul Date: Thu, 23 Mar 2023 11:39:44 -0400 Subject: [PATCH] gitignore and a sleep time for liveness checker --- .gitignore | 2 ++ app/python-node-exporter.py | 1 + 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 0f4680f..659210f 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ app/statsmetrics app/statsmetrics.txt app/threads app/threads.txt +app/vrametrics +app/vrametrics.txt diff --git a/app/python-node-exporter.py b/app/python-node-exporter.py index 3034244..d8e5cdd 100644 --- a/app/python-node-exporter.py +++ b/app/python-node-exporter.py @@ -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")