mirror of
https://github.com/ChronosX88/go-throttle.git
synced 2024-11-21 20:12:17 +00:00
Fix default RefillRate
This commit is contained in:
parent
ab73418b18
commit
8752f68e29
@ -22,7 +22,7 @@ func NewThrottle(ctx context.Context, cfg *Config) *Throttle {
|
||||
cfg = &Config{
|
||||
NumTokens: 0,
|
||||
Delay: 1 * time.Millisecond,
|
||||
RefillRate: 0.001,
|
||||
RefillRate: 1000000,
|
||||
DefaultCost: 1.000,
|
||||
Capacity: 1.000,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user