|
|
|
@ -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; |
|
|
|
|