@@ -35,7 +35,7 @@ void HelloImp::destroy()
int HelloImp::testHello(const std::string &sReq, std::string &sRsp, tars::TarsCurrentPtr current)
{
- TLOGDEBUG("HelloImp::testHellosReq:"<<sReq<<endl);
+ //TLOGDEBUG("HelloImp::testHellosReq:"<<sReq<<endl);
sRsp = sReq;
return 0;
}
@@ -37,6 +37,7 @@
logpath = ./
#merge net and imp thread
mergenetimp = 0
+ netthread=4
#local ip, for tarsnode
# local = tcp -h 127.0.0.1 -p 15001 -t 10000
@@ -55,7 +56,7 @@
#allow ip
allow =
#max connection num
- maxconns = 4096
+ maxconns = 20000
#imp thread num
threads = 5
#servant