feat(http): Increase concurrency limit for npm registry (#30400)

This commit is contained in:
Sergei Zharinov 2024-07-26 10:57:12 -03:00 committed by GitHub
parent 2e0c28791c
commit c737c8acd0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,6 +5,10 @@ import type { ConcurrencyLimitRule, ThrottleLimitRule } from './types';
// The first match wins // The first match wins
const concurrencyDefaults: ConcurrencyLimitRule[] = [ const concurrencyDefaults: ConcurrencyLimitRule[] = [
{
matchHost: 'registry.npmjs.org',
concurrency: 999,
},
{ {
matchHost: '*', matchHost: '*',
concurrency: 16, concurrency: 16,