From 0dfbd37b11b4c54c6665914c8751f971dbdf229e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?fengbojiang=28=E5=A7=9C=E5=87=A4=E6=B3=A2=29?= Date: Tue, 20 Sep 2016 17:50:56 +0800 Subject: [PATCH] enable timeout --- src/author.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/author.c b/src/author.c index 628a862..c92817b 100644 --- a/src/author.c +++ b/src/author.c @@ -673,7 +673,7 @@ launch_new_query(struct author *author/*, int idrowback*/) { if (ret > 0) { - if (mbuf->qtimes > MAX_TRY_TIMES/* || (msnow - mbuf->stime) > 5000*/) + if (mbuf->qtimes > MAX_TRY_TIMES || (msnow - mbuf->stime) > 5000) { release_qoutinfo(author, mbuf, GET_AID(i, typeoff)); }