Skip to content

Commit

Permalink
feat: epoll server add destroyApp log
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanshudong committed Mar 25, 2024
1 parent 3a87960 commit 43a2a0b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions servant/libservant/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,6 @@ void reportRspQueue(TC_EpollServer *epollServer)
}
}

//void heartBeatFunc(const string& adapterName)
//{
// TARS_KEEPALIVE(adapterName);
//}
//
void Application::manualListen()
{
vector<TC_EpollServer::BindAdapterPtr> v = getEpollServer()->getBindAdapters();
Expand Down
1 change: 0 additions & 1 deletion unit-test/server/WinServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ WinServer::initialize()
void WinServer::destroyApp()
{
LOG_CONSOLE_DEBUG << endl;

}

void WinServer::run()
Expand Down
1 change: 1 addition & 0 deletions util/src/tc_epoll_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2162,6 +2162,7 @@ void TC_EpollServer::waitForShutdown()
}
catch (exception& ex)
{
error(string("destroyApp error:") + ex.what());
}
}

Expand Down

0 comments on commit 43a2a0b

Please sign in to comment.