|
|
@ -202,10 +202,7 @@ class ServerBuilder { |
|
|
|
|
|
|
|
|
|
|
|
struct SyncServerSettings { |
|
|
|
struct SyncServerSettings { |
|
|
|
SyncServerSettings() |
|
|
|
SyncServerSettings() |
|
|
|
: num_cqs(GPR_MAX(1, gpr_cpu_num_cores())), |
|
|
|
: num_cqs(1), min_pollers(1), max_pollers(2), cq_timeout_msec(10000) {} |
|
|
|
min_pollers(1), |
|
|
|
|
|
|
|
max_pollers(2), |
|
|
|
|
|
|
|
cq_timeout_msec(10000) {} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// Number of server completion queues to create to listen to incoming RPCs.
|
|
|
|
/// Number of server completion queues to create to listen to incoming RPCs.
|
|
|
|
int num_cqs; |
|
|
|
int num_cqs; |
|
|
|