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