forked from indymedia/epicyon
Dummy argument
parent
d8c4661741
commit
700ee84320
|
@ -4623,7 +4623,7 @@ def runPostsQueue(baseDir: str,sendThreads: [],debug: bool) -> None:
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
removeDormantThreads(baseDir,sendThreads,debug)
|
removeDormantThreads(baseDir,sendThreads,debug)
|
||||||
|
|
||||||
def runPostsWatchdog(httpd) -> None:
|
def runPostsWatchdog(projectVersion: str,httpd) -> None:
|
||||||
"""This tries to keep the posts thread running even if it dies
|
"""This tries to keep the posts thread running even if it dies
|
||||||
"""
|
"""
|
||||||
print('Starting posts queue watchdog')
|
print('Starting posts queue watchdog')
|
||||||
|
@ -4783,7 +4783,7 @@ def runDaemon(projectVersion, \
|
||||||
if not unitTest:
|
if not unitTest:
|
||||||
httpd.thrPostsWatchdog= \
|
httpd.thrPostsWatchdog= \
|
||||||
threadWithTrace(target=runPostsWatchdog, \
|
threadWithTrace(target=runPostsWatchdog, \
|
||||||
args=(httpd),daemon=True)
|
args=(projectVersion,httpd),daemon=True)
|
||||||
httpd.thrPostsWatchdog.start()
|
httpd.thrPostsWatchdog.start()
|
||||||
else:
|
else:
|
||||||
httpd.thrPostsQueue.start()
|
httpd.thrPostsQueue.start()
|
||||||
|
|
Loading…
Reference in New Issue