mirror of https://gitlab.com/bashrc2/epicyon
Return to 50 second newswire watchdog
parent
849bef5a74
commit
c885fbc384
|
|
@ -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(200)
|
time.sleep(50)
|
||||||
if httpd.thrNewswireDaemon.is_alive():
|
if httpd.thrNewswireDaemon.is_alive():
|
||||||
continue
|
continue
|
||||||
httpd.thrNewswireDaemon.kill()
|
httpd.thrNewswireDaemon.kill()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue