diff --git a/gate/main.c b/gate/main.c index 388d0407..5216f46b 100644 --- a/gate/main.c +++ b/gate/main.c @@ -214,7 +214,7 @@ _cb(struct skynet_context * ctx, void * ud, int type, int session, uint32_t sour assert(type == PTYPE_RESPONSE); struct mread_pool * m = g->pool; - int connection_id = mread_poll(m,100); // timeout : 100ms + int connection_id = mread_poll(m,10); // timeout : 10 ms if (connection_id >= 0) { int id = g->map[connection_id].uid; if (id == 0) {