forked from indymedia/epicyon
Tidying
parent
543f0b4d7d
commit
df5d048dee
27
daemon.py
27
daemon.py
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue