mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Changed asyncorePoll to just 'poll'
This commit is contained in:
parent
b321ca8bb9
commit
77154f2c34
@ -52,7 +52,7 @@ class AsyncoreRunnerDriver(drivers.IrcDriver):
|
||||
def run(self):
|
||||
#debug.printf(asyncore.socket_map)
|
||||
try:
|
||||
asyncore.poll(conf.asyncorePoll)
|
||||
asyncore.poll(conf.poll)
|
||||
except:
|
||||
debug.recoverableException()
|
||||
|
||||
|
17
src/conf.py
17
src/conf.py
@ -108,15 +108,15 @@ telnetEnable = False
|
||||
telnetPort = 31337
|
||||
|
||||
###
|
||||
# asyncorePoll: the length of an asyncore's polling term.
|
||||
# If asyncore drivers are all you're using, feel free to make
|
||||
# this arbitrarily large -- be warned, however, that all other
|
||||
# drivers are just sitting around while asyncore waits during
|
||||
# this poll period (including the schedule). It'll take more
|
||||
# CPU, but you probably don't want to set this more than 0.01
|
||||
# when you've got non-asyncore drivers to worry about.
|
||||
# poll: the length of a polling term.
|
||||
# If asyncore drivers are all you're using, feel free to make
|
||||
# this arbitrarily large -- be warned, however, that all other
|
||||
# drivers are just sitting around while asyncore waits during
|
||||
# this poll period (including the schedule). It'll take more
|
||||
# CPU, but you probably don't want to set this more than 0.01
|
||||
# when you've got non-asyncore drivers to worry about.
|
||||
###
|
||||
asyncorePoll = 1
|
||||
poll = 1
|
||||
|
||||
###
|
||||
# maxHistory: Maximum number of messages kept in an Irc object's state.
|
||||
@ -171,6 +171,7 @@ prefixChars = '@'
|
||||
###
|
||||
detailedTracebacks = True
|
||||
|
||||
|
||||
###############################
|
||||
###############################
|
||||
###############################
|
||||
|
Loading…
Reference in New Issue
Block a user