You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2017/06/02 20:33:23 UTC

[couchdb] branch master updated (3c8f505 -> 6512525)

This is an automated email from the ASF dual-hosted git repository.

wohali pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git.

      from  3c8f505   Improve JS test harness restartServer() support fn
       new  95b2609   Allow ddoc_cache to be fully disabled
       new  6512525   bump ets_lru dependency

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 rebar.config.script                   | 2 +-
 src/ddoc_cache/src/ddoc_cache_sup.erl | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].

[couchdb] 01/02: Allow ddoc_cache to be fully disabled

Posted by wo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 95b2609619cf88cf1d0ea87e72777bfb6759d845
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Fri Jun 2 03:07:23 2017 -0400

    Allow ddoc_cache to be fully disabled
---
 src/ddoc_cache/src/ddoc_cache_sup.erl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/ddoc_cache/src/ddoc_cache_sup.erl b/src/ddoc_cache/src/ddoc_cache_sup.erl
index 5ffd7e6..85e90b3 100644
--- a/src/ddoc_cache/src/ddoc_cache_sup.erl
+++ b/src/ddoc_cache/src/ddoc_cache_sup.erl
@@ -48,19 +48,19 @@ init([]) ->
 
 lru_opts() ->
     case application:get_env(ddoc_cache, max_objects) of
-        {ok, MxObjs} when is_integer(MxObjs), MxObjs > 0 ->
+        {ok, MxObjs} when is_integer(MxObjs), MxObjs >= 0 ->
             [{max_objects, MxObjs}];
         _ ->
             []
     end ++
     case application:get_env(ddoc_cache, max_size) of
-        {ok, MxSize} when is_integer(MxSize), MxSize > 0 ->
+        {ok, MxSize} when is_integer(MxSize), MxSize >= 0 ->
             [{max_size, MxSize}];
         _ ->
             []
     end ++
     case application:get_env(ddoc_cache, max_lifetime) of
-        {ok, MxLT} when is_integer(MxLT), MxLT > 0 ->
+        {ok, MxLT} when is_integer(MxLT), MxLT >= 0 ->
             [{max_lifetime, MxLT}];
         _ ->
             []

-- 
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <co...@couchdb.apache.org>.

[couchdb] 02/02: bump ets_lru dependency

Posted by wo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 65125253e7fa344b1ca6f0af2dd01f56a722cc71
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Fri Jun 2 16:32:52 2017 -0400

    bump ets_lru dependency
---
 rebar.config.script | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rebar.config.script b/rebar.config.script
index 5cb137d..57f7e51 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -48,7 +48,7 @@ DepDescs = [
 %% Independent Apps
 {config,           "config",           "c5a42b52f28853e511afaa5b35d48770da1159d4"},
 {b64url,           "b64url",           "6895652d80f95cdf04efb14625abed868998f174"},
-{ets_lru,          "ets-lru",          "c05488c8b1d7ec1c3554a828e0c9bf2888932ed6"},
+{ets_lru,          "ets-lru",          "1376e50b82571d98bb2cbd96f27d370b20b9fc24"},
 {khash,            "khash",            "7c6a9cd9776b5c6f063ccafedfa984b00877b019"},
 {snappy,           "snappy",           "a728b960611d0795025de7e9668d06b9926c479d"},
 {setup,            "setup",            "e8d1e32ba3b4f5f3be0e06e5269b12d811f24d52"},

-- 
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <co...@couchdb.apache.org>.