jagerzhang commented 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则可以生效。


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to