You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/01/25 01:37:38 UTC

[GitHub] [apisix] jagerzhang edited a comment on issue #6188: request help: keepalive can not disable in upsteram

jagerzhang edited a comment on issue #6188:
URL: https://github.com/apache/apisix/issues/6188#issuecomment-1020719779


   > after a quick glance at the code, I think the `idle_timeout` should overriding the default `keepalive_timeout` in the upstream, here
   > 
   > https://github.com/apache/apisix/blob/f81788bdb06518ce1411e3ac624311c23cd56a4f/apisix/balancer.lua#L288
   > 
   > I'm not sure if setting `idle_timeou`t to 0 will have the same effect as close keepalive.
   > 
   > cc @spacewander
   
   明白了,是因为 dashboard 这里会将idle_timeout=0的值过滤掉,通过admin-api更新idle_timeout=0则可以生效。应该是dashboard这里的逻辑可能有点问题。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org