You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2017/09/12 20:08:56 UTC

[couchdb] 13/28: Fix type spec to allow disabling compression

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

davisp pushed a commit to branch COUCHDB-3287-pluggable-storage-engines
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 5bfbd707487699ae3485d58e40f7b30f474da424
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Tue May 30 11:28:44 2017 -0500

    Fix type spec to allow disabling compression
---
 src/couch/src/couch_db_engine.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/couch/src/couch_db_engine.erl b/src/couch/src/couch_db_engine.erl
index 7821368..502faa7 100644
--- a/src/couch/src/couch_db_engine.erl
+++ b/src/couch/src/couch_db_engine.erl
@@ -46,7 +46,7 @@
 -type write_stream_options() :: [
         {buffer_size, Size::pos_integer()} |
         {encoding, atom()} |
-        {compression_level, pos_integer()}
+        {compression_level, non_neg_integer()}
     ].
 
 -type doc_fold_options() :: [

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