[master] 63554eb91 param: Fix the description of thread_pool_stack

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Aug 19 17:09:05 UTC 2021


commit 63554eb91b8446a3901a7d0431559e5df6295779
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Thu Aug 19 17:02:36 2021 +0200

    param: Fix the description of thread_pool_stack
    
    It is the minimum value that matches the dynamic description, the
    default value gets adjusted if the one we use is below on a given
    system.

diff --git a/include/tbl/params.h b/include/tbl/params.h
index 9b30b37d5..edae76b28 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -1536,9 +1536,9 @@ PARAM_THREAD(
 	" increments is recommended until stack overflows"
 	" cease to occur.",
 	/* flags */	DELAYED_EFFECT,
-	/* dyn_min_reason */	NULL,
+	/* dyn_min_reason */	"sysconf(_SC_THREAD_STACK_MIN)",
 	/* dyn_max_reason */	NULL,
-	/* dyn_def_reason */	"sysconf(_SC_THREAD_STACK_MIN)"
+	/* dyn_def_reason */	NULL
 )
 
 #if defined(PARAM_ALL)


More information about the varnish-commit mailing list