Skip to content

Commit

Permalink
reduced default rate limit
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Mar 8, 2024
1 parent a83092f commit 07f4dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchange/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func newOptions(o ...Option) (*options, error) {
ipniPublishMaxBatchSize: 16 << 10,
ipniPublishChanBuffer: 1,
wg: nil,
pushRateLimiter: ratelimit.New(100), // Default of 50 per second
pushRateLimiter: ratelimit.New(5), // Default of 5 per second
}
for _, apply := range o {
if err := apply(&opts); err != nil {
Expand Down

0 comments on commit 07f4dcb

Please sign in to comment.