Changed asyncorePoll to just 'poll'

This commit is contained in:
Jeremy Fincher 2003-04-17 10:07:43 +00:00
parent b321ca8bb9
commit 77154f2c34
2 changed files with 10 additions and 9 deletions

View File

@ -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()

View File

@ -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
############################### ###############################
############################### ###############################
############################### ###############################