Revert "Reduce memory bloat (each server cq is very expensive)"

pull/9078/head
Craig Tiller 8 years ago committed by GitHub
parent 5d60c7d7e6
commit 18b66a0df6
  1. 2
      include/grpc++/server_builder.h

@ -187,7 +187,7 @@ class ServerBuilder {
struct SyncServerSettings {
SyncServerSettings()
: num_cqs(1),
: num_cqs(GPR_MAX(gpr_cpu_num_cores(), 4)),
min_pollers(1),
max_pollers(INT_MAX),
cq_timeout_msec(1000) {}

Loading…
Cancel
Save