fix handle_event
This commit is contained in:
parent
a3344d9f1c
commit
661fbbfb8b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue