Have the newswire watchdog sleep longer

main
bashrc 2026-04-13 10:17:41 +01:00
parent 1361610297
commit 0ab879ebe7
1 changed files with 1 additions and 1 deletions

View File

@ -905,7 +905,7 @@ def run_newswire_watchdog(project_version: str, httpd) -> None:
httpd.thrPostSchedule.clone(run_newswire_daemon) httpd.thrPostSchedule.clone(run_newswire_daemon)
begin_thread(httpd.thrNewswireDaemon, 'run_newswire_watchdog') begin_thread(httpd.thrNewswireDaemon, 'run_newswire_watchdog')
while True: while True:
time.sleep(50) time.sleep(200)
if httpd.thrNewswireDaemon.is_alive(): if httpd.thrNewswireDaemon.is_alive():
continue continue
httpd.thrNewswireDaemon.kill() httpd.thrNewswireDaemon.kill()