mirror of https://gitlab.com/bashrc2/epicyon
Three params
parent
bee236a44f
commit
f040362ef8
|
@ -11286,7 +11286,7 @@ def runDaemon(blogsInstance: bool, mediaInstance: bool,
|
|||
print('Creating newswire thread')
|
||||
httpd.thrNewswireDaemon = \
|
||||
threadWithTrace(target=runNewswireDaemon,
|
||||
args=(baseDir, httpd), daemon=True)
|
||||
args=(baseDir, httpd, 'newswire'), daemon=True)
|
||||
|
||||
# flags used when restarting the inbox queue
|
||||
httpd.restartInboxQueueInProgress = False
|
||||
|
|
|
@ -17,7 +17,7 @@ from utils import locatePost
|
|||
from utils import loadJson
|
||||
from utils import saveJson
|
||||
from utils import isSuspended
|
||||
from utils import getConfigParam
|
||||
# from utils import getConfigParam
|
||||
|
||||
|
||||
def rss2Header(httpPrefix: str,
|
||||
|
@ -408,7 +408,7 @@ def getDictFromNewswire(session, baseDir: str) -> {}:
|
|||
return sortedResult
|
||||
|
||||
|
||||
def runNewswireDaemon(baseDir: str, httpd):
|
||||
def runNewswireDaemon(baseDir: str, httpd, unused: str):
|
||||
"""Periodically updates RSS feeds
|
||||
"""
|
||||
# initial sleep to allow the system to start up
|
||||
|
|
Loading…
Reference in New Issue