From e64af6260a512a9e6eaed8bc8c48f0222c39afb2 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Wed, 28 Sep 2022 10:46:29 -0700 Subject: feat(ext/flash): add `reuseport` option on Linux (#16022) --- cli/bench/http/deno_http_flash_ops.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/bench/http/deno_http_flash_ops.js') 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(); -- cgit v1.2.3