Slightly more verbose

master
Bob Mottram 2019-07-12 10:52:06 +01:00
parent 927f922c85
commit 94a2e495b6
1 changed files with 3 additions and 2 deletions

View File

@ -545,7 +545,7 @@ def runDaemon(baseDir: str,domain: str,port=80,httpPrefix='https', \
print('Creating shared inbox: inbox@'+domain)
createSharedInbox(baseDir,'inbox',domain,port,httpPrefix)
print('Running ActivityPub daemon on ' + domain + ' port ' + str(port))
print('Creating inbox queue')
httpd.thrInboxQueue= \
threadWithTrace(target=runInboxQueue, \
args=(baseDir,httpPrefix,httpd.sendThreads, \
@ -555,4 +555,5 @@ def runDaemon(baseDir: str,domain: str,port=80,httpPrefix='https', \
httpd.ocapAlways, \
debug,httpd.acceptedCaps),daemon=True)
httpd.thrInboxQueue.start()
print('Running ActivityPub daemon on ' + domain + ' port ' + str(port))
httpd.serve_forever()