diff options
author | Sree Kuchibhotla <sreek@google.com> | 2017-04-19 19:37:39 -0700 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2017-04-21 09:53:42 -0700 |
commit | 1898a29f7ecf2ac4f706351d68dedd5767f02ec9 (patch) | |
tree | 31eb17dbb3fab45f493ab3791bf1d416ebe42199 /include | |
parent | bcdf9e8d899bf5018978c4f3635c51df3f0c7d09 (diff) |
Fixed pollers
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc++/server_builder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc++/server_builder.h b/include/grpc++/server_builder.h index 7ac23349c8..68c5344e2a 100644 --- a/include/grpc++/server_builder.h +++ b/include/grpc++/server_builder.h @@ -195,7 +195,7 @@ class ServerBuilder { struct SyncServerSettings { SyncServerSettings() - : num_cqs(1), min_pollers(1), max_pollers(2), cq_timeout_msec(10000) {} + : num_cqs(gpr_cpu_num_cores()), min_pollers(1), max_pollers(2), cq_timeout_msec(10000) {} // Number of server completion queues to create to listen to incoming RPCs. int num_cqs; |