mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #41060 from wojtek-t/fix_too_old_watch_errors
Automatic merge from submit-queue (batch tested with PRs 40382, 41060) Fix incorrect watch cache sizes Fix #41013
This commit is contained in:
commit
844407e6ca
@ -1125,7 +1125,7 @@ func (e *Store) CompleteWithOptions(options *generic.StoreOptions) error {
|
||||
if e.Storage == nil {
|
||||
capacity := DefaultWatchCacheSize
|
||||
if e.WatchCacheSize != 0 {
|
||||
capacity = DefaultWatchCacheSize
|
||||
capacity = e.WatchCacheSize
|
||||
}
|
||||
e.Storage, e.DestroyFunc = opts.Decorator(
|
||||
e.Copier,
|
||||
|
Loading…
Reference in New Issue
Block a user