Skip to content

Commit

Permalink
enable timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
jfb8856606 committed Sep 20, 2016
1 parent d12b334 commit 0dfbd37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/author.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit 0dfbd37

Please sign in to comment.