Skip to content

Commit

Permalink
v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
KernelMaker committed Nov 29, 2017
1 parent b172afa commit f3ffa38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pika_conf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ int PikaConf::Load()
exit(-1);
}
GetConfInt("timeout", &timeout_);
if (timeout_ <= 0) {
if (timeout_ < 0) {
timeout_ = 60; // 60s
}
GetConfStr("server-id", &server_id_);
Expand Down

0 comments on commit f3ffa38

Please sign in to comment.