mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 19:57:42 +08:00
commit
8b983ee1b5
@ -151,7 +151,7 @@ function _M.balance()
|
||||
end
|
||||
|
||||
ngx_balancer.set_more_tries(1)
|
||||
ngx.log(ngx.ERR, string.format("select peer %s", peer))
|
||||
ngx.log(ngx.DEBUG, string.format("select peer %s", peer))
|
||||
local ok, err = ngx_balancer.set_current_peer(peer)
|
||||
if not ok then
|
||||
ngx.log(ngx.ERR, string.format("error while setting current upstream peer %s: %s", peer, err))
|
||||
|
Loading…
Reference in New Issue
Block a user