mirror of https://github.com/k3s-io/k3s
Merge pull request #3969 from GoogleCloudPlatform/alex-mohr-patch-1
Update master.go's UpdateAllContainers to every 5 seconds instead of 30.pull/6/head
commit
9a8d20a2fc
|
@ -341,7 +341,7 @@ func (m *Master) init(c *Config) {
|
|||
RESTStorageToNodes(nodeRESTStorage).Nodes(),
|
||||
m.podRegistry,
|
||||
)
|
||||
go util.Forever(func() { podCache.UpdateAllContainers() }, time.Second*30)
|
||||
go util.Forever(func() { podCache.UpdateAllContainers() }, time.Second*5)
|
||||
go util.Forever(func() { podCache.GarbageCollectPodStatus() }, time.Minute*30)
|
||||
|
||||
// TODO: Factor out the core API registration
|
||||
|
|
Loading…
Reference in New Issue