From 0054ba964e933d746e2a286c845764fe67f0b88d Mon Sep 17 00:00:00 2001 From: Yossi Mosbacher Date: Sun, 17 Jul 2022 20:46:17 +0300 Subject: [PATCH] make alive thread daemon --- bin/straxer | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/straxer b/bin/straxer index 113f1ff9b..f796b17fd 100644 --- a/bin/straxer +++ b/bin/straxer @@ -334,7 +334,8 @@ def start_alive_thread(log, print_timeout): from threading import Thread thread = Thread(name='Ping alive', target=print_is_alive, - args=(log, print_timeout)) + args=(log, print_timeout), + daemon=True) log.info(f'Starting thread to ping that we are still running') thread.start()