Only sleep for a fifth of a second, no more.

pull/1/head
Simon Quigley 6 years ago
parent a933ae009a
commit 69b8a53462

@ -101,8 +101,8 @@ def ircmessage(objectstr, who, body, link):
message = message + "\x032" + link + "\x03" message = message + "\x032" + link + "\x03"
# Make sure we can debug this if it goes haywire # Make sure we can debug this if it goes haywire
logger.debug(message) logger.debug(message)
# Sleep for a second, so when we have a bunch of messages we have a buffer # Sleep for a fifth of a second, so when we have a bunch of messages we have a buffer
sleep(1) sleep(0.2)
# Aaaaand, send it off! # Aaaaand, send it off!
sendnotice(message) sendnotice(message)

Loading…
Cancel
Save