feat(iar): default ROBUST IAR archive limit to 10GiB

This commit is contained in:
OpenGenesis (MPL 2.0) committed 2026-11-04 09:44:43 +01:00
1 parent 94ab56920b
commit ddc1aeffc7
1 file changed
+1 -1
+1 -1
View File
@@ -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);