feat(iar): default ROBUST IAR archive limit to 10GiB
This commit is contained in:
1 parent
94ab56920b
commit
ddc1aeffc7
1 file changed
+1
-1
@@ -62,7 +62,7 @@ namespace NexVerse.Server.Api
|
||||
string root = section?.GetString(
|
||||
m_UseWebDav ? "TemporaryStorageRoot" : "SharedStorageRoot",
|
||||
m_UseWebDav ? "/var/lib/opengenesislink/iar-staging" : "")?.Trim() ?? "";
|
||||
long maxMib = section?.GetLong("MaximumArchiveMiB", 2048) ?? 2048;
|
||||
long maxMib = section?.GetLong("MaximumArchiveMiB", 10240) ?? 10240;
|
||||
m_NasHost = section?.GetString("NasHost", "10.78.0.4")?.Trim() ?? "";
|
||||
int days = section?.GetInt("RetentionDays", 30) ?? 30;
|
||||
m_RetentionDays = Math.Clamp(days, 1, OglIarNasStorage.MaximumRetentionDays);
|
||||
|
||||
Reference in new issue
Block a user