diff options
author | Sree Kuchibhotla <sreecha@users.noreply.github.com> | 2018-02-04 22:25:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-04 22:25:01 -0800 |
commit | d934602beb34d41d3c02a507db71adb31dda7893 (patch) | |
tree | f74b124d27d3eb393e668e0b1ba31e7390cb05ca /src/core/lib | |
parent | 785dda80dc1115df5af903b6fe9a15db90ea33b1 (diff) | |
parent | 12a6c1ea0088a5ffc5982f784f1bcb4637a8ea29 (diff) |
Merge pull request #14275 from sreecha/enable-epollex
enable epollex by default
Diffstat (limited to 'src/core/lib')
-rw-r--r-- | src/core/lib/iomgr/ev_epollex_linux.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/lib/iomgr/ev_epollex_linux.cc b/src/core/lib/iomgr/ev_epollex_linux.cc index 178ebd8977..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"); @@ -1452,10 +1452,6 @@ static const grpc_event_engine_vtable vtable = { const grpc_event_engine_vtable* grpc_init_epollex_linux( bool explicitly_requested) { - if (!explicitly_requested) { - return nullptr; - } - if (!grpc_has_wakeup_fd()) { gpr_log(GPR_ERROR, "Skipping epollex because of no wakeup fd."); return nullptr; |