GitHub user chewbranca opened a pull request:

    https://github.com/apache/couchdb-couch/pull/107

    Add revs limit for docs passed to filter functions

    The existing revs_limit logic only accounts for depth of individual
    branches, and ignores the case where you have a lot of branches, for
    instance when a doc is heavily conflicted. This patch truncates the list
    of revs when passing docs to the JS filter functions, because given
    enough revs this can cause the couchjs processes to explode.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/couchdb-couch add-filter-revs-limit

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-couch/pull/107.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 #107
    
----
commit bb82dd6ae52d2d5b12ca6d16941c5f7fa2ea10ae
Author: Russell Branca <[email protected]>
Date:   2015-09-29T20:32:02Z

    Add revs limit for docs passed to filter functions
    
    The existing revs_limit logic only accounts for depth of individual
    branches, and ignores the case where you have a lot of branches, for
    instance when a doc is heavily conflicted. This patch truncates the list
    of revs when passing docs to the JS filter functions, because given
    enough revs this can cause the couchjs processes to explode.

----


---
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.
---

Reply via email to