|
@ -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_event(self, sock, event): |
|
|
def handle_event(self, sock, fd, event): |
|
|
if sock != self._sock: |
|
|
if sock != self._sock: |
|
|
return |
|
|
return |
|
|
if event & eventloop.POLL_ERR: |
|
|
if event & eventloop.POLL_ERR: |
|
|