diff --git a/statistics/handle/update.go b/statistics/handle/update.go index 8e473eac217f9..829d962bb6c58 100644 --- a/statistics/handle/update.go +++ b/statistics/handle/update.go @@ -401,7 +401,7 @@ var ( // DumpStatsDeltaRatio is the lower bound of `Modify Count / Table Count` for stats delta to be dumped. DumpStatsDeltaRatio = 1 / 10000.0 // dumpStatsMaxDuration is the max duration since last update. - dumpStatsMaxDuration = time.Hour + dumpStatsMaxDuration = 5 * time.Minute ) // needDumpStatsDelta checks whether to dump stats delta.