summaryrefslogtreecommitdiff
path: root/benchmark/http
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/http')
-rw-r--r--benchmark/http/cluster.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/http/cluster.js b/benchmark/http/cluster.js
index 56393fa1ab..667e826f16 100644
--- a/benchmark/http/cluster.js
+++ b/benchmark/http/cluster.js
@@ -26,7 +26,7 @@ function main({ type, len, c }) {
if (workers < 2)
return;
- setTimeout(function() {
+ setImmediate(function() {
const path = `/${type}/${len}`;
bench.http({
@@ -36,6 +36,6 @@ function main({ type, len, c }) {
w1.destroy();
w2.destroy();
});
- }, 100);
+ });
});
}