fix: inject index min update interval into resource server (#113816)
This commit is contained in:
@@ -66,5 +66,9 @@ func NewSearchOptions(
|
||||
IndexMinUpdateInterval: cfg.IndexMinUpdateInterval,
|
||||
}, nil
|
||||
}
|
||||
return resource.SearchOptions{}, nil
|
||||
return resource.SearchOptions{
|
||||
// it is used for search after write and throttles index updates
|
||||
IndexMinUpdateInterval: cfg.IndexMinUpdateInterval,
|
||||
MaxIndexAge: cfg.MaxFileIndexAge,
|
||||
}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user