From 92fa1f83e471d0dd0f23b7ee85d23f26f241049e Mon Sep 17 00:00:00 2001 From: antao Date: Sun, 31 Mar 2019 18:30:06 +0800 Subject: [PATCH] Update test.sh and config.example.json --- config.example.json | 2 +- drogon_ctl/templates/config.csp | 2 +- test.sh | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) 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