Chore: reduce speedtest API concurrency

This commit is contained in:
SukkaW 2023-12-26 22:07:18 +08:00
parent 50ae7c0644
commit 68e5822f0f

View File

@ -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[]>());