浏览代码

Chore: disable HTTP/2 to avoid race condition

SukkaW 1 天之前
父节点
当前提交
dce0ce89ef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Build/lib/fetch-retry.ts

+ 1 - 1
Build/lib/fetch-retry.ts

@@ -27,7 +27,7 @@ if (!fs.existsSync(CACHE_DIR)) {
 }
 
 const agent = new Agent({
-  allowH2: true
+  allowH2: false
 }).compose(
   interceptors.dns({
     // disable IPv6