ambroslins commented on issue #11107: URL: https://github.com/apache/apisix/issues/11107#issuecomment-3209585527
It would be nice to be able to configure the `validTtl` option for [resty.dns.client.init](https://kong.github.io/lua-resty-dns-client/modules/resty.dns.client.html#init). I am using docker swarm, which uses a non-configurable TTL of 600s for the embedded DNS records, see [here](https://github.com/docker/compose/issues/11467). This means that after a service restart we have to wait up to 600s until the new service is discovered. In the meantime the old service might have already shutdown, which means no healthy upstream is available. If we would be able to configure the `validTtl` option we could reduce this time and avoid downtime. -- 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