Skip to content

Commit

Permalink
feat(http): Increase concurrency limit for npm registry (#30400)
Browse files Browse the repository at this point in the history
  • Loading branch information
zharinov authored Jul 26, 2024
1 parent 2e0c287 commit c737c8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/util/http/rate-limits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ import type { ConcurrencyLimitRule, ThrottleLimitRule } from './types';

// The first match wins
const concurrencyDefaults: ConcurrencyLimitRule[] = [
{
matchHost: 'registry.npmjs.org',
concurrency: 999,
},
{
matchHost: '*',
concurrency: 16,
Expand Down

0 comments on commit c737c8a

Please sign in to comment.