Skip to content

Commit

Permalink
schedule/coordinator.go:Fix errors in the comments since the DefaultP…
Browse files Browse the repository at this point in the history
…atrolRegionInterval changed

Signed-off-by: Shirly <[email protected]>
  • Loading branch information
AndreMouche committed May 14, 2024
1 parent ba7e63a commit 275e4bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/schedule/coordinator.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ const (
// pushOperatorTickInterval is the interval try to push the operator.
pushOperatorTickInterval = 500 * time.Millisecond

patrolScanRegionLimit = 128 // It takes about 14 minutes to iterate 1 million regions.
// It takes about 1.3 minutes to iterate 1 million regions(with DefaultPatrolRegionInterval=10ms).
patrolScanRegionLimit = 128
// PluginLoad means action for load plugin
PluginLoad = "PluginLoad"
// PluginUnload means action for unload plugin
Expand Down

0 comments on commit 275e4bc

Please sign in to comment.