mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 14:35:27 +08:00
response signal 2
Former-commit-id: 1506ef55ee42647da9a76512b277007828b945c9
This commit is contained in:
parent
4c260cd8dd
commit
18994f2aa9
@ -19,6 +19,7 @@ void SignalUtil::HandleSignal(int signum){
|
||||
CommonUtil::PrintInfo("Server received signal:" + std::to_string(signum));
|
||||
|
||||
switch(signum){
|
||||
case SIGINT:
|
||||
case SIGUSR2:{
|
||||
server::Server* server_ptr = server::Server::Instance();
|
||||
server_ptr->Stop();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user