summaryrefslogtreecommitdiff
path: root/ext/net/01_net.js
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-04-19 20:11:31 +0530
committerGitHub <noreply@github.com>2022-04-19 20:11:31 +0530
commit1c05e41f37da022971f0090b2a92e6340d230055 (patch)
treebff62a80b6d9a43b1c73b1b292f85a5095243982 /ext/net/01_net.js
parent3d1123f8b09cecfa57a93d8b8b7d19af2b45f070 (diff)
perf(runtime): bypass tokio file and bump op buffer size to 64K (#14319)
Diffstat (limited to 'ext/net/01_net.js')
-rw-r--r--ext/net/01_net.js2
1 files changed, 1 insertions, 1 deletions
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 {