From 8fd99e833cd48603d2696d8c8be110ed4aa706be Mon Sep 17 00:00:00 2001 From: Leavrth Date: Wed, 28 Feb 2024 15:21:52 +0800 Subject: [PATCH] remove timeout for debug Signed-off-by: Leavrth --- pkg/schedule/operator/operator.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/schedule/operator/operator.go b/pkg/schedule/operator/operator.go index ceded6b2b54..b87a050969f 100644 --- a/pkg/schedule/operator/operator.go +++ b/pkg/schedule/operator/operator.go @@ -99,10 +99,6 @@ func NewOperator(desc, brief string, regionID uint64, regionEpoch *metapb.Region for _, v := range steps { maxDuration += v.Timeout(approximateSize).Seconds() } - if desc == "scatter-region" { - // set an hour - maxDuration = 3600 - } return &Operator{ desc: desc, brief: brief,