Browse Source

rename handle_event

dev
breakwa11 9 years ago
parent
commit
a3344d9f1c
  1. 2
      asyncmgr.py

2
asyncmgr.py

@ -69,7 +69,7 @@ class ServerMgr(object):
elif args[3] == '1': elif args[3] == '1':
server_pool.ServerPool.get_instance().new_server(args[1], args[2]) server_pool.ServerPool.get_instance().new_server(args[1], args[2])
def handle_events(self, sock, event): def handle_event(self, sock, event):
if sock != self._sock: if sock != self._sock:
return return
if event & eventloop.POLL_ERR: if event & eventloop.POLL_ERR:

Loading…
Cancel
Save