mirror of
https://github.com/rancher/steve.git
synced 2025-09-13 05:49:16 +00:00
Add garbage collection for events table (#664)
* Add ListOptionIndexerOptions to create ListOptionIndexer * Remove unused function * Implement configurable garbage collection on ListOptionIndexer * Propagate Steve options from Server
This commit is contained in:
@@ -303,7 +303,7 @@ func (s *Store) Reset() error {
|
||||
}
|
||||
|
||||
func defaultInitializeCacheFactory() (CacheFactory, error) {
|
||||
informerFactory, err := factory.NewCacheFactory()
|
||||
informerFactory, err := factory.NewCacheFactory(factory.CacheFactoryOptions{})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user