diff --git a/Lux.API/Lux.API.csproj b/Lux.API/Lux.API.csproj
index 205f3ef4..c3cd0c96 100644
--- a/Lux.API/Lux.API.csproj
+++ b/Lux.API/Lux.API.csproj
@@ -4,7 +4,7 @@
net8.0
enable
enable
- 0.9.2512.1518
+ 0.9.2512.1614
diff --git a/Lux.API/Program.cs b/Lux.API/Program.cs
index 83624824..7b80231d 100644
--- a/Lux.API/Program.cs
+++ b/Lux.API/Program.cs
@@ -57,11 +57,14 @@ builder.Services.AddSingleton();
string cleanupDayTTL = configuration.GetValue("ServerConf:CleanupDayTTL") ?? "360";
string rBaseKey = configuration.GetValue("ServerConf:RedisBaseKey") ?? "Lux";
int dayTTL = 360;
+int archTTL = 2;
int.TryParse(cleanupDayTTL, out dayTTL);
builder.Services.AddSingleton(new CalcRuidService(
+ configuration,
redisConn,
+ redisBaseKey: rBaseKey,
retention: TimeSpan.FromDays(dayTTL),
- redisBaseKey: rBaseKey
+ archivePeriod: TimeSpan.FromDays(archTTL)
));
builder.Services.AddHostedService();
diff --git a/Lux.UI/Components/Compo/Stats/HistoricalStats.razor b/Lux.UI/Components/Compo/Stats/HistoricalStats.razor
index b79ac3a5..eec6a263 100644
--- a/Lux.UI/Components/Compo/Stats/HistoricalStats.razor
+++ b/Lux.UI/Components/Compo/Stats/HistoricalStats.razor
@@ -5,8 +5,13 @@