mirror of https://gitlab.com/bashrc2/epicyon
More outgoing threads
parent
6e19e0d121
commit
efc2e62bc2
|
@ -188,8 +188,8 @@ def postMessageToOutbox(messageJson: {},postToNickname: str, \
|
||||||
followersThreads.remove(th)
|
followersThreads.remove(th)
|
||||||
if debug:
|
if debug:
|
||||||
print('DEBUG: '+str(len(followersThreads))+' followers threads active')
|
print('DEBUG: '+str(len(followersThreads))+' followers threads active')
|
||||||
# retain up to 20 threads
|
# retain up to 200 threads
|
||||||
if len(followersThreads)>20:
|
if len(followersThreads)>200:
|
||||||
# kill the thread if it is still alive
|
# kill the thread if it is still alive
|
||||||
if followersThreads[0].is_alive():
|
if followersThreads[0].is_alive():
|
||||||
followersThreads[0].kill()
|
followersThreads[0].kill()
|
||||||
|
|
Loading…
Reference in New Issue