diff OrthancServer/Sources/ServerContext.h @ 5346:566e8d32bd3a

Reduce the frequency of memory trimming from 100ms to 30s to avoid high idle CPU load
author Alain Mazy <am@osimis.io>
date Thu, 29 Jun 2023 09:43:20 +0200
parents 3a61fd50f804
children 3c8286e5d07b 16cbfefa15e9
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.h	Wed Jun 28 11:54:41 2023 +0200
+++ b/OrthancServer/Sources/ServerContext.h	Thu Jun 29 09:43:20 2023 +0200
@@ -189,7 +189,7 @@
 
 #if HAVE_MALLOC_TRIM == 1
     static void MemoryTrimmingThread(ServerContext* that,
-                                     unsigned int sleepDelay);
+                                     unsigned int intervalInSeconds);
 #endif
 
     void SaveJobsEngine();