From 4444c0a3d5a5b7a37f874c656069efbd8b323dbb Mon Sep 17 00:00:00 2001 From: Juanli Shen Date: Fri, 1 Nov 2019 23:22:07 -0700 Subject: [PATCH] Disable client_idle_filter --- src/core/ext/filters/client_idle/client_idle_filter.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/core/ext/filters/client_idle/client_idle_filter.cc b/src/core/ext/filters/client_idle/client_idle_filter.cc index b8a5721f84c..2ea3eadeec3 100644 --- a/src/core/ext/filters/client_idle/client_idle_filter.cc +++ b/src/core/ext/filters/client_idle/client_idle_filter.cc @@ -27,10 +27,9 @@ #include "src/core/lib/surface/channel_init.h" #include "src/core/lib/transport/http2_errors.h" -// The idle filter is enabled in client channel by default. -// Set GRPC_ARG_CLIENT_IDLE_TIMEOUT_MS to [1000, INT_MAX) in channel args to -// configure the idle timeout. -#define DEFAULT_IDLE_TIMEOUT_MS (30 /*minutes*/ * 60 * 1000) +// TODO(juanlishen): The idle filter is disabled in client channel by default +// due to b/143502997. Try to fix the bug and enable the filter by default. +#define DEFAULT_IDLE_TIMEOUT_MS INT_MAX // The user input idle timeout smaller than this would be capped to it. #define MIN_IDLE_TIMEOUT_MS (1 /*second*/ * 1000)