Skip to content

Commit

Permalink
Add links to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zharinov committed Jul 17, 2024
1 parent ea10909 commit 9b950e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/util/http/rate-limits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ import type { RateLimitRule } from './types';

const defaults: RateLimitRule[] = [
{
// https://guides.rubygems.org/rubygems-org-rate-limits/
matchHost: 'rubygems.org',
throttleMs: 125,
},
{
// https://crates.io/data-access#api
matchHost: 'https://crates.io/api/',
throttleMs: 1000,
},
Expand Down

0 comments on commit 9b950e1

Please sign in to comment.