Fix default RefillRate

This commit is contained in:
ChronosX88 2021-01-25 17:44:30 +03:00
parent ab73418b18
commit 8752f68e29
Signed by: ChronosXYZ
GPG Key ID: 085A69A82C8C511A

View File

@ -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,
}