move sleep to do it for each message we send
This commit is contained in:
parent
887acd0ade
commit
293e0956d9
|
@ -39,7 +39,7 @@ if __name__ == '__main__':
|
|||
for bot2 in bots:
|
||||
bot2.post(user, status)
|
||||
logger.info("Resent: %d %s %s" % (user.uid, status.author, status.text))
|
||||
sleep(0.5)
|
||||
sleep(0.5)
|
||||
except Exception:
|
||||
logger.error("Shutdown.", exc_info=True)
|
||||
shutdown()
|
||||
|
|
Loading…
Reference in a new issue