浏览代码

Chore: reduce speedtest API concurrency

SukkaW 2 年之前
父节点
当前提交
68e5822f0f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Build/build-speedtest-domainset.ts

+ 1 - 1
Build/build-speedtest-domainset.ts

@@ -10,7 +10,7 @@ import { fetchWithRetry } from './lib/fetch-retry';
 import { SHARED_DESCRIPTION } from './lib/constants';
 import { getGorhillPublicSuffixPromise } from './lib/get-gorhill-publicsuffix';
 
-const s = new Sema(3);
+const s = new Sema(2);
 
 const latestTopUserAgentsPromise = fetchWithRetry('https://unpkg.com/top-user-agents@latest/index.json')
   .then(res => res.json<string[]>());