mirror of
https://github.com/rancher/steve.git
synced 2025-09-06 01:41:00 +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:
@@ -304,7 +304,7 @@ func (i *IntegrationSuite) TestSQLCacheFilters() {
|
||||
}
|
||||
|
||||
func (i *IntegrationSuite) createCacheAndFactory(fields [][]string, transformFunc cache.TransformFunc) (*factory.Cache, *factory.CacheFactory, error) {
|
||||
cacheFactory, err := factory.NewCacheFactory()
|
||||
cacheFactory, err := factory.NewCacheFactory(factory.CacheFactoryOptions{})
|
||||
if err != nil {
|
||||
return nil, nil, fmt.Errorf("unable to make factory: %w", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user