eiri commented on a change in pull request #785: Implement attachment size 
limits
URL: https://github.com/apache/couchdb/pull/785#discussion_r136611885
 
 

 ##########
 File path: src/couch/src/couch_att.erl
 ##########
 @@ -680,6 +691,22 @@ upgrade_encoding(false) -> identity;
 upgrade_encoding(Encoding) -> Encoding.
 
 
+max_attachment_size() ->
+    case config:get("couchdb", "max_attachment_size", "infinity") of
 
 Review comment:
   Side note: we probably should just made `config:get_integer/3` to believe in 
`infinity`, it's not a first time I'm seeing this dance.
 
----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to