You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/07/04 20:01:37 UTC

[GitHub] wohali opened a new issue #636: Fix mismatch between MAX_DBS_OPEN and rel/overlay/etc/default.ini

wohali opened a new issue #636: Fix mismatch between MAX_DBS_OPEN and rel/overlay/etc/default.ini
URL: https://github.com/apache/couchdb/issues/636
 
 
   ## Expected Behavior
   `max_dbs_open` should default to a reasonable value given our default `q` is 8, and that default should be identical in the Erlang code and our `default.ini` file.
   
   ## Current Behavior
   I noticed
   
   ```erlang
   couch/src/couch_server.erl:-define(MAX_DBS_OPEN, 100).
   ```
   
   but default.ini defines max_dbs_open = 500.
   
   Further, our tests assume 500 is the default. See `config/test/config_tests.erl` line 364:
   
   ```erlang
           ?assertEqual("500", config:get("couchdb", "max_dbs_open")),
   ```
   
   ## Possible Solution
   Bump `MAX_DBS_OPEN` to 500.
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services