forked from indymedia/epicyon
Pop twice
parent
df5d048dee
commit
06025845cb
|
@ -485,6 +485,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
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:
|
||||||
|
for i in range(2):
|
||||||
self.server.followersThreads.pop(0)
|
self.server.followersThreads.pop(0)
|
||||||
if self.server.debug:
|
if self.server.debug:
|
||||||
print('DEBUG: handle any unfollow requests')
|
print('DEBUG: handle any unfollow requests')
|
||||||
|
|
Loading…
Reference in New Issue