diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-09-28 10:46:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 23:16:29 +0530 |
commit | e64af6260a512a9e6eaed8bc8c48f0222c39afb2 (patch) | |
tree | 2471772b0a9f18e61fd0e8c4b2140fb2556c5e5e /cli/bench/http/deno_http_flash_ops.js | |
parent | d677ba67f50e5edb0491d8ed1e4171473d662081 (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.js | 2 |
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(); |