]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: activity: raise the default number of memprofile buckets to 4k
authorWilly Tarreau <w@1wt.eu>
Thu, 12 Mar 2026 09:52:27 +0000 (10:52 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 12 Mar 2026 17:06:38 +0000 (18:06 +0100)
It was set to 1k by default but with the refinement of exec_ctx it's
becoming short, so let's raise it now.

include/haproxy/defaults.h

index 04eae5df06f68514d796eb9b1cd813a890fa1cff..72a9bc13a07cd608b513ac2048ad47e59529387e 100644 (file)
  * store stats.
  */
 #ifndef MEMPROF_HASH_BITS
-# define MEMPROF_HASH_BITS 10
+# define MEMPROF_HASH_BITS 12
 #endif
 #define MEMPROF_HASH_BUCKETS (1U << MEMPROF_HASH_BITS)