Skip to content

Commit

Permalink
Increase bastion burst
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Oct 24, 2024
1 parent 64080cc commit 7e0d65e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/feeder/bastion/bastion_feeder.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func FeedBastion(ctx context.Context, c Config, w feeder.Witness) error {
w: w,
logs: make(map[string]config.Log),
witVerifier: c.WitnessVerifier,
limiter: rate.NewLimiter(c.Limits.TotalPerSecond, 1 /* max "burst", but we'll only ask for 1 at a time */),
limiter: rate.NewLimiter(c.Limits.TotalPerSecond, int(c.Limits.TotalPerSecond)),
}
for _, l := range c.Logs {
h.logs[l.ID] = l
Expand Down

0 comments on commit 7e0d65e

Please sign in to comment.