changeset 6801:28466072bcb9

fix StableAge bug introduced in commit a7dbb19622fd
author Alain Mazy <am@orthanc.team>
date Mon, 18 May 2026 15:15:19 +0200
parents 8ac77592226e
children e98c73866fcb
files OrthancServer/Sources/ServerIndex.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerIndex.cpp	Mon May 18 13:13:41 2026 +0200
+++ b/OrthancServer/Sources/ServerIndex.cpp	Mon May 18 15:15:19 2026 +0200
@@ -467,7 +467,7 @@
       stableAge = lock.GetConfiguration().GetUnsignedIntegerParameter("StableAge", 60);
     }
 
-    if (stableAge <= 1)
+    if (stableAge < 1)
     {
       stableAge = 60;
     }