diff options
author | Paul J. Davis <paul.joseph.davis@gmail.com> | 2020-02-06 10:21:13 -0600 |
---|---|---|
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | 2020-02-06 16:01:34 -0600 |
commit | 9140e61ea51b59b7256e91401fc927a05f0f20ee (patch) | |
tree | d92792f0868bc327bc58017cda23072ef263740d | |
parent | 8a26f8838f99d6ff84e644409393f38ef7e1b7ff (diff) | |
download | couchdb-update-jiffy-1.0.3.tar.gz |
Speed up OOM errorupdate-jiffy-1.0.3
This test was timing out just as the "out of memory" error is reported.
Changing the accumulation from linear to exponential should hopefully
prevent this from happening.
-rw-r--r-- | src/couch/test/eunit/couch_js_tests.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couch/test/eunit/couch_js_tests.erl b/src/couch/test/eunit/couch_js_tests.erl index d3d92a288..666547696 100644 --- a/src/couch/test/eunit/couch_js_tests.erl +++ b/src/couch/test/eunit/couch_js_tests.erl @@ -17,7 +17,7 @@ -define(FUNC, << "function(doc) {\n" " var val = \"0123456789ABCDEF\";\n" - " while(true) {emit(val, val);}\n" + " while(true) {val = val + val;}\n" "}\n" >>). |