mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
93061dfa7b
Previously multitenant cache was inited before flag.Parse call. It didn't allow to change cache expiration value and default value was always used. This commit adds cache init at the first time cache was called. Also this commit adds small cache improvements: * chore for cleanup cache, it now uses common pattern for in-place items filtering * fail cache request fast if item is already expired --------- Signed-off-by: f41gh7 <nik@victoriametrics.com> Co-authored-by: Roman Khavronenko <roman@victoriametrics.com> |
||
---|---|---|
.. | ||
netstorage.go | ||
netstorage_test.go | ||
netstorage_timing_test.go | ||
tenant_cache.go | ||
tenant_cache_test.go | ||
tenant_filters.go | ||
tenant_filters_test.go | ||
tmp_blocks_file.go | ||
tmp_blocks_file_test.go |