Reduce minimum maxLagMillisecondsThrottleThreshold to 100ms
This commit is contained in:
parent
2663b00e32
commit
10b222bc7b
@ -324,8 +324,8 @@ func (this *MigrationContext) TimeSincePointOfInterest() time.Duration {
|
||||
}
|
||||
|
||||
func (this *MigrationContext) SetMaxLagMillisecondsThrottleThreshold(maxLagMillisecondsThrottleThreshold int64) {
|
||||
if maxLagMillisecondsThrottleThreshold < 1000 {
|
||||
maxLagMillisecondsThrottleThreshold = 1000
|
||||
if maxLagMillisecondsThrottleThreshold < 100 {
|
||||
maxLagMillisecondsThrottleThreshold = 100
|
||||
}
|
||||
atomic.StoreInt64(&this.MaxLagMillisecondsThrottleThreshold, maxLagMillisecondsThrottleThreshold)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user