tokers commented on issue #4528:
URL: https://github.com/apache/apisix/issues/4528#issuecomment-874065779


   > > > > The `timeouts` under `unhealthy` is used to configure how many times 
that timeout events should occur so an endpoint can be set to unhealthy, not to 
configure the connection timeout.
   > > > 
   > > > 
   > > > 
https://github.com/apache/apisix/blob/cb8e41d5f4037c332978dc21eff7a63e0ab48322/apisix/schema_def.lua#L184-L195
   > > > 
   > > > Okay, if timeouts represents the number of timeouts, how do you 
understand the number of failures of http_failures and tcp_failtures? I 
understand that if it times out, it shouldn’t be a failure?
   > > 
   > > 
   > > timeouts, http_failures and tcp_faileres are three kinds of exceptions, 
all the settings here is used to indicate the number.
   > 
   > I try to understand what you mean. Do you see right?
   > 
   > That is to say, timeout and failure are in two dimensions. Whether it is a 
health check interface call timeout or a failed status code, we all think that 
this node is unhealthy
   > 
   > Is my understanding correct?
   
   I think so.


-- 
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