Skip to content

Commit

Permalink
fix status err when kill usr2 and no set task_num
Browse files Browse the repository at this point in the history
(cherry picked from commit 766b6df)
  • Loading branch information
GXhua authored and twose committed Feb 3, 2020
1 parent 069a009 commit e437827
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ static int swManager_loop(swServer *serv)
if (serv->task_worker_num == 0)
{
swWarn("cannot reload task workers, task workers is not started");
ManagerProcess.reloading = false;
continue;
}
swInfo("Server is reloading task workers now");
Expand Down

0 comments on commit e437827

Please sign in to comment.