From 3d8d74b78c8ca41ff861fd8b4cc2aee3cd16736d Mon Sep 17 00:00:00 2001 From: antao Date: Mon, 24 Dec 2018 09:44:29 +0800 Subject: [PATCH] Modify config.csp of the drogon_ctl command --- drogon_ctl/templates/config.csp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drogon_ctl/templates/config.csp b/drogon_ctl/templates/config.csp index d9329e86..3a0ca063 100644 --- a/drogon_ctl/templates/config.csp +++ b/drogon_ctl/templates/config.csp @@ -47,8 +47,9 @@ } ],*/ "app": { - //threads_num:num of threads,1 by default - "threads_num": 16, + //threads_num:the number of IO threads,1 by default, if the value is set to 0, the number of threads + //will be the number of processors. + "threads_num": 1, //enable_session:false by default "enable_session": false, "session_timeout": 0, @@ -132,4 +133,4 @@ //of the connection without read or write "idle_connection_timeout": 60 } -} \ No newline at end of file +}