Skip to content

Commit

Permalink
increased pushRateLimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Oct 22, 2024
1 parent bb33b67 commit ef7c3c5
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(5), // Default of 5 per second
pushRateLimiter: ratelimit.New(1000), // Default of 5 per second
}
for _, apply := range o {
if err := apply(&opts); err != nil {
Expand Down

0 comments on commit ef7c3c5

Please sign in to comment.