Cambio modalità di calcolo chiavi orphaned x gestire statistiche in modo + corretto

This commit is contained in:
Samuele Locatelli
2026-06-11 20:55:06 +02:00
parent 1361aab3b9
commit e9c4049824
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP.RIOC</RootNamespace>
<Version>8.16.2606.1119</Version>
<Version>8.16.2606.1120</Version>
</PropertyGroup>
<ItemGroup>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MP-RIOC </i>
<h4>Versione: 8.16.2606.1119</h4>
<h4>Versione: 8.16.2606.1120</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
8.16.2606.1119
8.16.2606.1120
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>8.16.2606.1119</version>
<version>8.16.2606.1120</version>
<url>https://nexus.steamware.net/repository/SWS/MP-RIOC/stable/LAST/MP.RIOC.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-RIOC/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>
+2 -2
View File
@@ -184,7 +184,7 @@ namespace MP.RIOC.Services
}
else
{
isOrphanKey = keyTtl.Value.TotalSeconds < 0 || keyTtl.Value.TotalDays > 30.25;
isOrphanKey = keyTtl.Value.TotalSeconds < 0 || keyTtl.Value.TotalDays < 1 >;
}
// Se è orfana e abbiamo il permesso, segnamola per la cancellazione
@@ -336,7 +336,7 @@ namespace MP.RIOC.Services
}
else
{
isOrphanKey = keyTtl.Value.TotalSeconds < 0 || keyTtl.Value.TotalDays > 15.25;
isOrphanKey = keyTtl.Value.TotalSeconds < 0 || keyTtl.Value.TotalDays < 15;
}
// Se è orfana e abbiamo il permesso, segnamola per la cancellazione