Skip to content

Commit

Permalink
Merge pull request #3583 from lx1036/feature/fix-cache-sync
Browse files Browse the repository at this point in the history
fix: remove cache sync repeatedly
  • Loading branch information
volcano-sh-bot authored Aug 9, 2024
2 parents 0fc3a48 + 61fe91f commit c8a1329
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ func (pc *Scheduler) Run(stopCh <-chan struct{}) {
// Start cache for policy.
pc.cache.SetMetricsConf(pc.metricsConf)
pc.cache.Run(stopCh)
pc.cache.WaitForCacheSync(stopCh)
klog.V(2).Infof("Scheduler completes Initialization and start to run")
go wait.Until(pc.runOnce, pc.schedulePeriod, stopCh)
if options.ServerOpts.EnableCacheDumper {
Expand Down

0 comments on commit c8a1329

Please sign in to comment.