Skip to content

Commit

Permalink
remove timeout for debug
Browse files Browse the repository at this point in the history
Signed-off-by: Leavrth <[email protected]>
  • Loading branch information
Leavrth committed Feb 28, 2024
1 parent d2c588b commit 8fd99e8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/schedule/operator/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8fd99e8

Please sign in to comment.