move sleep to do it for each message we send
parent
a94afbaecf
commit
d698bb2ed0
|
@ -39,6 +39,7 @@ if __name__ == '__main__':
|
||||||
for bot2 in bots:
|
for bot2 in bots:
|
||||||
bot2.post(user, status)
|
bot2.post(user, status)
|
||||||
logger.info("Resent: %d %s %s" % (user.uid, status.author, status.text))
|
logger.info("Resent: %d %s %s" % (user.uid, status.author, status.text))
|
||||||
|
sleep(0.5)
|
||||||
sleep(0.5)
|
sleep(0.5)
|
||||||
except Exception:
|
except Exception:
|
||||||
logger.error("Shutdown.", exc_info=True)
|
logger.error("Shutdown.", exc_info=True)
|
||||||
|
|
Loading…
Reference in New Issue