mirror of
https://github.com/lubuntu-team/lugito.git
synced 2025-05-03 05:41:28 +00:00
Only sleep for a fifth of a second, no more.
This commit is contained in:
parent
a933ae009a
commit
69b8a53462
4
lugito
4
lugito
@ -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…
x
Reference in New Issue
Block a user