mirror of
https://github.com/typesense/typesense.git
synced 2025-05-17 04:02:36 +08:00
When API service quits, peering service also must quit.
This commit is contained in:
parent
1cd9793d69
commit
c0759f0d1b
@ -345,6 +345,8 @@ int run_server(const Config & config, const std::string & version,
|
||||
|
||||
// we are out of the event loop here
|
||||
|
||||
LOG(INFO) << "Typesense API service has quit. Stopping raft service...";
|
||||
quit_raft_service = true;
|
||||
raft_thread.join();
|
||||
|
||||
curl_global_cleanup();
|
||||
|
Loading…
x
Reference in New Issue
Block a user