diff --git a/throttle.go b/throttle.go index f0c5cbb..0e31938 100644 --- a/throttle.go +++ b/throttle.go @@ -21,7 +21,7 @@ func NewThrottle(ctx context.Context, cfg *Config) *Throttle { if cfg == nil { cfg = &Config{ NumTokens: 0, - Delay: 0.001, + Delay: 1 * time.Millisecond, RefillRate: 0.001, DefaultCost: 1.000, Capacity: 1.000,