Skip to content

Commit

Permalink
1)fix info prolbem\n2)fix fd leak when connect master failed
Browse files Browse the repository at this point in the history
  • Loading branch information
CatKang committed May 31, 2016
1 parent 6e2a268 commit b3c1a09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/pika_worker_thread.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ PikaWorkerThread::PikaWorkerThread(int cron_interval):
WorkerThread::WorkerThread(cron_interval),
thread_querynum_(0),
last_thread_querynum_(0),
last_time_us_(slash::NowMicros()) {
last_time_us_(slash::NowMicros()),
last_sec_thread_querynum_(0) {
cmds_.reserve(300);
InitCmdTable(&cmds_);
}
Expand Down
2 changes: 1 addition & 1 deletion third/pink
Submodule pink updated from d9f130 to 1fd9dc

0 comments on commit b3c1a09

Please sign in to comment.