We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abc4b1a commit 4a664e3Copy full SHA for 4a664e3
controllers/pod_controller.go
@@ -41,7 +41,7 @@ func cacheKeyFunc(obj interface{}) (string, error) {
41
return obj.(PodRequests).Name, nil
42
}
43
44
-var cacheStore = cache.NewStore(cacheKeyFunc)
+var cacheStore = cache.NewTTLStore(cacheKeyFunc, 48*time.Hour)
45
46
// Reconcile handles a reconciliation request for a Pod.
47
// If the Pod has the podHasAnnotation annotation, then Reconcile
0 commit comments