Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Jan 2, 2025
1 parent 9bd88db commit 1d9328d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kong/clustering/data_plane.lua
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ function _M:init_worker(basic_info)
return
end

ngx_log(ngx_WARN, "sync v1 is enabled due to rpc sync can not work.")

-- we only check once
if self.inited then
return
end

self.inited = true

ngx_log(ngx_WARN, "sync v1 is enabled due to rpc sync can not work.")

-- only run in process which worker_id() == 0
start_communicate()

Expand Down

0 comments on commit 1d9328d

Please sign in to comment.