Skip to content

Commit

Permalink
fix: apisix restart failed use sleep method(#10495)
Browse files Browse the repository at this point in the history
Signed-off-by: wuhanqing <hanqingwu@126.com>
  • Loading branch information
hanqingwu committed Dec 27, 2023
1 parent bf1f9c4 commit a4a78b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apisix/cli/ops.lua
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,7 @@ local function start(env, ...)

local ok, err, err_no = signal.kill(pid, signone)
if ok then
print("APISIX is running...")
print("the old process is still running, the new one won't be started!")
return
-- no such process
Expand Down

0 comments on commit a4a78b1

Please sign in to comment.