GitHub user wohali opened a pull request:
https://github.com/apache/couchdb-ets-lru/pull/4
Allow an ets_lru to be completely disabled
## Overview
Currently it is impossible to disable the ddoc_cache by specifying
`-ddoc_cache max_objects 0` in `vm.args`. This allows such a configuration,
paired with a similar change in `ddoc_cache`.
## Testing recommendations
Add `-ddoc_cache max_objects 0` in `vm.args` and start up couch. It should
run correctly.
## GitHub issue number
Related to apache/couchdb#559 but does not fix it.
## Related Pull Requests
https://github.com/apache/couchdb/pull/561
## Checklist
- [X] Code is written and works correctly;
- [ ] Changes are covered by tests;
- [ ] Documentation reflects the changes;
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/couchdb-ets-lru 559-disable-ddoc-cache
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-ets-lru/pull/4.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4
----
commit 80cc7e1a21e35a643c7b9f26b9939ac6af0cc5ce
Author: Joan Touzet <[email protected]>
Date: 2017-06-02T07:09:13Z
Allow an ets_lru to be completely disabled
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---