Browse Source

fix handle_event

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

2
asyncmgr.py

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

Loading…
Cancel
Save