aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2018-02-01 14:01:45 -0800
committerGravatar Sree Kuchibhotla <sreek@google.com>2018-02-01 14:01:51 -0800
commit12a6c1ea0088a5ffc5982f784f1bcb4637a8ea29 (patch)
tree39c1c0f778ec1651a5ff41304950283d551fd712
parentffa4fbdafaf35d5172d272fe00b6fab329f8cc95 (diff)
Batch size to 1 since it is better for latency (this is similar to what
we did in epoll1)
-rw-r--r--src/core/lib/iomgr/ev_epollex_linux.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/ev_epollex_linux.cc b/src/core/lib/iomgr/ev_epollex_linux.cc
index 5795528288..30c7a89824 100644
--- a/src/core/lib/iomgr/ev_epollex_linux.cc
+++ b/src/core/lib/iomgr/ev_epollex_linux.cc
@@ -57,7 +57,7 @@
//#define GRPC_EPOLLEX_CREATE_WORKERS_ON_HEAP 1
#define MAX_EPOLL_EVENTS 100
-#define MAX_EPOLL_EVENTS_HANDLED_EACH_POLL_CALL 5
+#define MAX_EPOLL_EVENTS_HANDLED_EACH_POLL_CALL 1
grpc_core::DebugOnlyTraceFlag grpc_trace_pollable_refcount(false,
"pollable_refcount");