Dummy argument

main2
Bob Mottram 2019-10-16 19:24:06 +01:00
parent d8c4661741
commit 700ee84320
1 changed files with 2 additions and 2 deletions

View File

@ -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()