From 8283d37c51a8fd5f92ba3f8be0bb26f241f864b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sat, 15 Oct 2022 13:35:04 +0200 Subject: bench: avoid port collision (#16285) --- core/examples/http_bench_json_ops.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/examples/http_bench_json_ops.js') diff --git a/core/examples/http_bench_json_ops.js b/core/examples/http_bench_json_ops.js index 98b2f4ef8..883ef1752 100644 --- a/core/examples/http_bench_json_ops.js +++ b/core/examples/http_bench_json_ops.js @@ -9,7 +9,7 @@ const responseBuf = new Uint8Array( .map((c) => c.charCodeAt(0)), ); -/** Listens on 0.0.0.0:4500, returns rid. */ +/** Listens on 0.0.0.0:4570, returns rid. */ function listen() { return Deno.core.ops.op_listen(); } @@ -38,7 +38,7 @@ async function serve(rid) { async function main() { const listenerRid = listen(); - Deno.core.print(`http_bench_ops listening on http://127.0.0.1:4544/\n`); + Deno.core.print(`http_bench_ops listening on http://127.0.0.1:4570/\n`); while (true) { const rid = await accept(listenerRid); -- cgit v1.2.3