main2
Bob Mottram 2019-11-04 11:01:04 +00:00
parent 543f0b4d7d
commit df5d048dee
1 changed files with 14 additions and 13 deletions

View File

@ -468,19 +468,20 @@ class PubServer(BaseHTTPRequestHandler):
createSession(self.server.domain,self.server.port,self.server.useTor) createSession(self.server.domain,self.server.port,self.server.useTor)
if self.server.debug: if self.server.debug:
print('DEBUG: sending c2s post to followers') print('DEBUG: sending c2s post to followers')
followersThread=sendToFollowersThread(self.server.session, \ followersThread= \
self.server.baseDir, \ sendToFollowersThread(self.server.session, \
self.postToNickname, \ self.server.baseDir, \
self.server.domain, \ self.postToNickname, \
self.server.port, \ self.server.domain, \
self.server.httpPrefix, \ self.server.port, \
self.server.federationList, \ self.server.httpPrefix, \
self.server.sendThreads, \ self.server.federationList, \
self.server.postLog, \ self.server.sendThreads, \
self.server.cachedWebfingers, \ self.server.postLog, \
self.server.personCache, \ self.server.cachedWebfingers, \
messageJson,self.server.debug, \ self.server.personCache, \
self.server.projectVersion) messageJson,self.server.debug, \
self.server.projectVersion)
self.server.followersThreads.append(followersThread) self.server.followersThreads.append(followersThread)
# retain up to 10 threads # retain up to 10 threads
if len(self.server.followersThreads)>10: if len(self.server.followersThreads)>10: