Skip to content

Commit

Permalink
embedr: increase rate limits (bluesky-social#6255)
Browse files Browse the repository at this point in the history
  • Loading branch information
devinivy authored Nov 12, 2024
1 parent 5ee809e commit af31ceb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bskyweb/cmd/embedr/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ func serve(cctx *cli.Context) error {
Skipper: middleware.DefaultSkipper,
Store: middleware.NewRateLimiterMemoryStoreWithConfig(
middleware.RateLimiterMemoryStoreConfig{
Rate: 10, // requests per second
Burst: 30, // allow bursts
Rate: 20, // requests per second
Burst: 150, // allow bursts
ExpiresIn: 3 * time.Minute, // garbage collect entries older than 3 minutes
},
),
Expand Down

0 comments on commit af31ceb

Please sign in to comment.