mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Fix incorrect watch cache sizes
This commit is contained in:
parent
9dec47dc28
commit
8985c6ba4f
@ -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