Skip to content

Commit 7aa4303

Browse files
committed
fmt
1 parent 8fddbe5 commit 7aa4303

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ func runLoadTest(ctx context.Context, cmd *cobra.Command) error {
226226
// Create the shared rate authority for the whole run.
227227
sharedLimiter := rate.NewLimiter(rate.Inf, 1)
228228
if cfg.Settings.TPS > 0 {
229-
sharedLimiter = rate.NewLimiter(rate.Limit(cfg.Settings.TPS), max(1,int(cfg.Settings.TPS)))
229+
sharedLimiter = rate.NewLimiter(rate.Limit(cfg.Settings.TPS), max(1, int(cfg.Settings.TPS)))
230230
log.Printf("📈 Rate limiting enabled: %.2f TPS shared across all workers", cfg.Settings.TPS)
231231
}
232232

0 commit comments

Comments
 (0)