commit | 23e5f92a15cdc868622481d2ff63ca3770110fae | [log] [tgz] |
---|---|---|
author | Russell Branca <chewbranca@apache.org> | Tue Sep 29 20:32:02 2015 +0000 |
committer | Russell Branca <chewbranca@apache.org> | Mon Oct 12 22:01:14 2015 +0000 |
tree | 2b8e1f25a06b9baec63125fcba6b7b3e1de97aeb | |
parent | 75cfed07b8236e6127de4356202215cd22ab5529 [diff] |
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.