nickva commented on code in PR #6024:
URL: https://github.com/apache/couchdb/pull/6024#discussion_r3358978874


##########
src/couch/src/couch_server.erl:
##########
@@ -998,7 +999,9 @@ name(BaseName, N) when is_integer(N), N > 0 ->
     list_to_atom(BaseName ++ "_" ++ integer_to_list(N)).
 
 num_servers() ->
-    erlang:system_info(schedulers).
+    Max = config:get_integer("couchdb", "max_couch_server_shards", 
?DEFAULT_SHARDS),

Review Comment:
   Oh good point! A persistent term would make sense with a note in default.ini



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to