# HG changeset patch # User Olaf Wintermann # Date 1669486469 -3600 # Node ID 255e316db762b590ddaddb8f421c6e1586f7ed4b # Parent 22eca559adedc1ada0aaa616dda7b0bba9412ffd fix srvctrl thread stacksize diff -r 22eca559aded -r 255e316db762 src/server/daemon/srvctrl.c --- a/src/server/daemon/srvctrl.c Sat Nov 26 17:07:08 2022 +0100 +++ b/src/server/daemon/srvctrl.c Sat Nov 26 19:14:29 2022 +0100 @@ -43,7 +43,7 @@ #include "srvctrl.h" -#define SRVCTRL_THREAD_STACKSIZE 8192 +#define SRVCTRL_THREAD_STACKSIZE 262144 static int srvctrl; static cxmutstr srvctrl_path; @@ -182,9 +182,7 @@ int srvctrl_handle_cmd(SrvCtrlClient *client, cxmutstr cmd) { if(!cx_strcmp(cx_strcast(cmd), cx_str("reconfig"))) { log_ereport(LOG_INFORM, "reconfigure server"); - if(webserver_reconfig()) { - log_ereport(LOG_FAILURE, "cannot reload config"); - } else { + if(!webserver_reconfig()) { log_ereport(LOG_INFORM, "reconfig: success"); } } else if(!cx_strcmp(cx_strcast(cmd), cx_str("shutdown"))) {