Add UnusedStorageLifetime for asset file TTL

#3931
This commit is contained in:
Wojtek Figat
2026-03-25 21:30:07 +01:00
parent 9d0e4e9768
commit a84109df2c
3 changed files with 11 additions and 5 deletions

View File

@@ -46,6 +46,7 @@ namespace
ContentStorageService ContentStorageServiceInstance;
TimeSpan ContentStorageManager::UnusedStorageLifetime = TimeSpan::FromSeconds(0.5f);
TimeSpan ContentStorageManager::UnusedDataChunksLifetime = TimeSpan::FromSeconds(10);
FlaxStorageReference ContentStorageManager::GetStorage(const StringView& path, bool loadIt)