Disable client_idle_filter

pull/20910/head
Juanli Shen 5 years ago
parent ab7e5e8dec
commit 4444c0a3d5
  1. 7
      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/surface/channel_init.h"
#include "src/core/lib/transport/http2_errors.h" #include "src/core/lib/transport/http2_errors.h"
// The idle filter is enabled in client channel by default. // TODO(juanlishen): The idle filter is disabled in client channel by default
// Set GRPC_ARG_CLIENT_IDLE_TIMEOUT_MS to [1000, INT_MAX) in channel args to // due to b/143502997. Try to fix the bug and enable the filter by default.
// configure the idle timeout. #define DEFAULT_IDLE_TIMEOUT_MS INT_MAX
#define DEFAULT_IDLE_TIMEOUT_MS (30 /*minutes*/ * 60 * 1000)
// The user input idle timeout smaller than this would be capped to it. // The user input idle timeout smaller than this would be capped to it.
#define MIN_IDLE_TIMEOUT_MS (1 /*second*/ * 1000) #define MIN_IDLE_TIMEOUT_MS (1 /*second*/ * 1000)

Loading…
Cancel
Save