Handle SIGTERM for cleaner shutdowns (#737)

This commit is contained in:
dgtlmoon
2022-08-02 10:21:25 +02:00
committed by GitHub
parent 26f5c56ba4
commit f0f2fe94ce
3 changed files with 47 additions and 3 deletions

View File

@@ -1259,7 +1259,6 @@ def notification_runner():
global notification_debug_log
from datetime import datetime
import json
while not app.config.exit.is_set():
try:
# At the moment only one thread runs (single runner)