diff --git a/config.example.json b/config.example.json index 7245447f..fcc6bf73 100644 --- a/config.example.json +++ b/config.example.json @@ -53,7 +53,7 @@ ],*/ "app": { //threads_num: The number of IO threads, 1 by default, if the value is set to 0, the number of threads - //is the number of processors. + //is the number of CPU cores "threads_num": 1, //enable_session: False by default "enable_session": true, diff --git a/drogon_ctl/templates/config.csp b/drogon_ctl/templates/config.csp index 7245447f..fcc6bf73 100644 --- a/drogon_ctl/templates/config.csp +++ b/drogon_ctl/templates/config.csp @@ -53,7 +53,7 @@ ],*/ "app": { //threads_num: The number of IO threads, 1 by default, if the value is set to 0, the number of threads - //is the number of processors. + //is the number of CPU cores "threads_num": 1, //enable_session: False by default "enable_session": true, diff --git a/test.sh b/test.sh index 38c00426..74a201fa 100755 --- a/test.sh +++ b/test.sh @@ -70,5 +70,8 @@ if [ ! -f "drogon_test" ];then exit -1 fi +cd ../../ +rm -rf drogon_test + echo "Everything is ok!" exit 0