cold storage retention should be days

This commit is contained in:
Stanley Dimant
2024-05-03 19:01:06 +02:00
parent 8284c3c159
commit 24db7aec82

View File

@@ -20,7 +20,7 @@ public class StaticFilesServerConfiguration : MareConfigurationBase
public bool UseColdStorage { get; set; } = false; public bool UseColdStorage { get; set; } = false;
public string? ColdStorageDirectory { get; set; } = null; public string? ColdStorageDirectory { get; set; } = null;
public double ColdStorageSizeHardLimitInGiB { get; set; } = -1; public double ColdStorageSizeHardLimitInGiB { get; set; } = -1;
public double ColdStorageUnusedFileRetentionPeriodInDays { get; set; } = 30; public int ColdStorageUnusedFileRetentionPeriodInDays { get; set; } = 30;
[RemoteConfiguration] [RemoteConfiguration]
public Uri CdnFullUrl { get; set; } = null; public Uri CdnFullUrl { get; set; } = null;
[RemoteConfiguration] [RemoteConfiguration]