More outgoing threads

main
Bob Mottram 2020-01-20 12:43:34 +00:00
parent 6e19e0d121
commit efc2e62bc2
1 changed files with 2 additions and 2 deletions

View File

@ -188,8 +188,8 @@ def postMessageToOutbox(messageJson: {},postToNickname: str, \
followersThreads.remove(th)
if debug:
print('DEBUG: '+str(len(followersThreads))+' followers threads active')
# retain up to 20 threads
if len(followersThreads)>20:
# retain up to 200 threads
if len(followersThreads)>200:
# kill the thread if it is still alive
if followersThreads[0].is_alive():
followersThreads[0].kill()