mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 17:07:22 +01:00
make cleanup check time configurable, add distribution file server address
This commit is contained in:
parent
23eef94daf
commit
b4830e9f8a
3 changed files with 8 additions and 5 deletions
|
|
@ -7,6 +7,7 @@ public class StaticFilesServerConfiguration : MareConfigurationBase
|
|||
{
|
||||
public bool IsDistributionNode { get; set; } = false;
|
||||
public Uri? MainFileServerAddress { get; set; } = null;
|
||||
public Uri? DistributionFileServerAddress { get; set; } = null;
|
||||
public int ForcedDeletionOfFilesAfterHours { get; set; } = -1;
|
||||
public double CacheSizeHardLimitInGiB { get; set; } = -1;
|
||||
public int UnusedFileRetentionPeriodInDays { get; set; } = 14;
|
||||
|
|
@ -15,6 +16,7 @@ public class StaticFilesServerConfiguration : MareConfigurationBase
|
|||
public int DownloadTimeoutSeconds { get; set; } = 5;
|
||||
public int DownloadQueueReleaseSeconds { get; set; } = 15;
|
||||
public int DownloadQueueClearLimit { get; set; } = 15000;
|
||||
public int CleanupCheckInMinutes { get; set; } = 15;
|
||||
[RemoteConfiguration]
|
||||
public Uri CdnFullUrl { get; set; } = null;
|
||||
[RemoteConfiguration]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue