mirror of https://gitlab.com/bashrc2/epicyon
Test
parent
7703a002cd
commit
3812131758
|
@ -712,7 +712,7 @@ def runNewswireDaemon(baseDir: str, httpd,
|
|||
|
||||
# try to update the feeds
|
||||
newNewswire = None
|
||||
try:
|
||||
# try:
|
||||
newNewswire = \
|
||||
getDictFromNewswire(httpd.session, baseDir, domain,
|
||||
httpd.maxNewswirePostsPerSource,
|
||||
|
@ -720,10 +720,10 @@ def runNewswireDaemon(baseDir: str, httpd,
|
|||
httpd.maxTags,
|
||||
httpd.maxFeedItemSizeKb,
|
||||
httpd.maxNewswirePosts)
|
||||
except Exception as e:
|
||||
print('WARN: unable to update newswire ' + str(e))
|
||||
time.sleep(120)
|
||||
continue
|
||||
# except Exception as e:
|
||||
# print('WARN: unable to update newswire ' + str(e))
|
||||
# time.sleep(120)
|
||||
# continue
|
||||
|
||||
if not httpd.newswire:
|
||||
if os.path.isfile(newswireStateFilename):
|
||||
|
|
Loading…
Reference in New Issue