lua-resty-upstream-healthcheck icon indicating copy to clipboard operation
lua-resty-upstream-healthcheck copied to clipboard

Support HealtchCheck on tcp layer,avoid to produce needless http access log

Open shi7161979 opened this issue 6 years ago • 6 comments

local ok, err = hc.spawn_checker{ shm = "healthcheck", -- defined by "lua_shared_dict" upstream = "foo.com", -- defined by "upstream" type = "tcp", interval = 2000, -- run the check cycle every 2 sec timeout = 1000, -- 1 sec is the timeout for network operations fall = 3, -- # of successive failures before turning a peer down rise = 2, -- # of successive successes before turning a peer up concurrency = 10, -- concurrency level for test requests }

shi7161979 avatar Sep 06 '17 01:09 shi7161979

update error message ,thank you for your suggestion, Tieske。

shi7161979 avatar Sep 12 '17 00:09 shi7161979

why we don't merge this? @Tieske

Colstuwjx avatar Jun 11 '19 07:06 Colstuwjx

@Colstuwjx I commented on it, but I'm not a maintainer of this lib

Tieske avatar Jun 11 '19 09:06 Tieske

+1 ping @thibaultcha @spacewander

timebug avatar Sep 27 '20 07:09 timebug