Skip to content
Snippets Groups Projects
Commit b095c390 authored by Craig Tiller's avatar Craig Tiller Committed by GitHub
Browse files

Merge pull request #9078 from grpc/revert-8893-reduce_cq

Revert "Reduce memory bloat (each server cq is very expensive)"
parents 5d60c7d7 18b66a0d
No related branches found
No related tags found
No related merge requests found
...@@ -187,7 +187,7 @@ class ServerBuilder { ...@@ -187,7 +187,7 @@ class ServerBuilder {
struct SyncServerSettings { struct SyncServerSettings {
SyncServerSettings() SyncServerSettings()
: num_cqs(1), : num_cqs(GPR_MAX(gpr_cpu_num_cores(), 4)),
min_pollers(1), min_pollers(1),
max_pollers(INT_MAX), max_pollers(INT_MAX),
cq_timeout_msec(1000) {} cq_timeout_msec(1000) {}
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment