Commit 3ad640f3 authored by Tristan Cavelier's avatar Tristan Cavelier

useless setTimeout call fixed

parent b4e40fd3
...@@ -995,10 +995,10 @@ jIO.addStorageType("revision", function (spec, my) { ...@@ -995,10 +995,10 @@ jIO.addStorageType("revision", function (spec, my) {
if (rows.revision_trees.hasOwnProperty(i)) { if (rows.revision_trees.hasOwnProperty(i)) {
functions.finished += 1; functions.finished += 1;
if (rows.revision_trees[i].doc) { if (rows.revision_trees[i].doc) {
setTimeout(functions.falseResponseGenerator( functions.falseResponseGenerator(
rows.revision_trees[i].doc, rows.revision_trees[i].doc,
functions.fillResultGenerator(rows.revision_trees[i].id) functions.fillResultGenerator(rows.revision_trees[i].id)
)); );
} else { } else {
priv.getRevisionTree( priv.getRevisionTree(
{"_id": rows.revision_trees[i].id}, {"_id": rows.revision_trees[i].id},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment