Fix ttFactor in QuoterCenter (#19802)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/19803/head
bigsheeper 2022-10-16 09:17:24 +08:00 committed by GitHub
parent 89c9cb3680
commit a92b242ecd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ func (q *QuotaCenter) calculateWriteRates() error {
}
log.Debug("QuotaCenter check memoryWaterLevel done", zap.Float64("memFactor", memFactor))
if ttFactor < memFactor {
if memFactor < ttFactor {
ttFactor = memFactor
}