From eb0d433380db64e4d56adc35da1f8ae44337466b Mon Sep 17 00:00:00 2001 From: Ryan Leung Date: Wed, 22 May 2019 10:52:07 +0800 Subject: [PATCH] remove unnecessary comment Signed-off-by: Ryan Leung --- server/schedule/operator.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/schedule/operator.go b/server/schedule/operator.go index 88b6f3012323..25d0ee64cb0f 100644 --- a/server/schedule/operator.go +++ b/server/schedule/operator.go @@ -36,8 +36,6 @@ const ( // longer than it, the operator will be considered timeout. RegionOperatorWaitTime = 10 * time.Minute // RegionInfluence represents the influence of a operator step, which is used by ratelimit. - // And due to the return type of `Available()` in ratelimit is int64, - // we need to enlarge this variable to make the metrics work. 1000 is enough for now. RegionInfluence int64 = 1000 )