Revert "Stop the bleeding for #6059"

This reverts commit 6be09c5e97.
This commit is contained in:
Wojciech Tyczynski
2015-04-08 13:29:29 +02:00
parent a265272649
commit 8a5c76356c
2 changed files with 2 additions and 8 deletions

View File

@@ -143,9 +143,7 @@ func (f *ConfigFactory) CreateFromKeys(predicateKeys, priorityKeys util.StringSe
}
// Watch and queue pods that need scheduling.
// TODO: the 30 second poll loop is here to mitigate #6059 and
// shouldn't be neeeded once that is resolved.
cache.NewReflector(f.createUnassignedPodLW(), &api.Pod{}, f.PodQueue, 30*time.Second).Run()
cache.NewReflector(f.createUnassignedPodLW(), &api.Pod{}, f.PodQueue, 0).Run()
// Pass through all events to the scheduled pod store, but on a deletion,
// also remove from the assumed pods.