From 1c05e41f37da022971f0090b2a92e6340d230055 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Tue, 19 Apr 2022 20:11:31 +0530 Subject: perf(runtime): bypass tokio file and bump op buffer size to 64K (#14319) --- ext/net/01_net.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/net') diff --git a/ext/net/01_net.js b/ext/net/01_net.js index a17c66724..48cbfaaab 100644 --- a/ext/net/01_net.js +++ b/ext/net/01_net.js @@ -65,7 +65,7 @@ return core.opAsync("op_dns_resolve", { query, recordType, options }); } - const DEFAULT_CHUNK_SIZE = 16_640; + const DEFAULT_CHUNK_SIZE = 64 * 1024; function tryClose(rid) { try { -- cgit v1.2.3