Refine: main线程不再设置线程名,防止覆盖进程名

This commit is contained in:
xiongziliang 2021-11-28 21:18:09 +08:00
parent 8b24088ab1
commit 341700fa5b

View File

@ -194,8 +194,6 @@ int start_main(int argc,char *argv[]) {
string ssl_file = cmd_main["ssl"];
int threads = cmd_main["threads"];
setThreadName("main thread");
//设置日志
Logger::Instance().add(std::make_shared<ConsoleChannel>("ConsoleChannel", logLevel));
#ifndef ANDROID