mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Optimize session management by reducing the TTL (Time To Live) value for service registration from 30 seconds to 10 seconds. This change improves the system's ability to detect service failures more quickly and enhances overall cluster responsiveness. Changes include: - Update default session TTL from 30s to 10s in milvus.yaml - Adjust DefaultSessionTTL constant from 30 to 10 seconds - Update SessionTTL default value from 60 to 10 seconds - Maintain consistent TTL values across configuration files This optimization reduces the time required for the system to detect when services become unavailable, leading to faster failover and improved cluster stability during node failures or network issues. Signed-off-by: Wei Liu <wei.liu@zilliz.com>