thor533 commented on issue #9310: URL: https://github.com/apache/apisix/issues/9310#issuecomment-1514017338
> It depends on whether you are talking about [active check](https://apisix.apache.org/zh/docs/apisix/tutorials/health-check/#%E4%B8%BB%E5%8A%A8%E5%81%A5%E5%BA%B7%E6%A3%80%E6%9F%A5) or [passive check](https://apisix.apache.org/zh/docs/apisix/tutorials/health-check/#%E8%A2%AB%E5%8A%A8%E5%81%A5%E5%BA%B7%E6%A3%80%E6%9F%A5). > > The configuration that you currently have means that the health check will be done every 2 seconds, and if there are 5 successes the node will be marked as healthy. Also, if the upstream node returns 302, it will be marked as healthy. > > For unhealthy nodes, it will check every the health check will be done every 5 seconds. If the upstream node returns error code: 429, the upstream node will be marked as unhealthy. I'm talking about active checking, my configuration above, first of all, the first time it should run the health status, it run it every two seconds,and he need to run five times, but the interface returns 200, not 302, on the sixth time, should it run the unhealthy configuration? it run every 5 seconds, and it return the status code 200, not 429, So it should be executed five times, right? But the test results, they don't match my understanding -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org