summaryrefslogtreecommitdiff
path: root/cli/bench/http/deno_http_flash_ops.js
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-09-28 10:46:29 -0700
committerGitHub <noreply@github.com>2022-09-28 23:16:29 +0530
commite64af6260a512a9e6eaed8bc8c48f0222c39afb2 (patch)
tree2471772b0a9f18e61fd0e8c4b2140fb2556c5e5e /cli/bench/http/deno_http_flash_ops.js
parentd677ba67f50e5edb0491d8ed1e4171473d662081 (diff)
feat(ext/flash): add `reuseport` option on Linux (#16022)
Diffstat (limited to 'cli/bench/http/deno_http_flash_ops.js')
-rw-r--r--cli/bench/http/deno_http_flash_ops.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/bench/http/deno_http_flash_ops.js b/cli/bench/http/deno_http_flash_ops.js
index 40ca25ff1..970447a42 100644
--- a/cli/bench/http/deno_http_flash_ops.js
+++ b/cli/bench/http/deno_http_flash_ops.js
@@ -11,7 +11,7 @@ const {
} = Deno;
const addr = Deno.args[0] || "127.0.0.1:4500";
const [hostname, port] = addr.split(":");
-const serverId = op_flash_serve({ hostname, port });
+const serverId = op_flash_serve({ hostname, port, reuseport: true });
const serverPromise = opAsync("op_flash_drive_server", serverId);
const fastOps = op_flash_make_request();