mirror of https://github.com/milvus-io/milvus.git
increse thrift thread count
Former-commit-id: 33cec22bf8733907c7b6d67b5ff8b8cc28a816f7pull/191/head
parent
d5a8b973c0
commit
51ebdb93a9
|
@ -76,7 +76,7 @@ MilvusServer::StartService() {
|
|||
return;
|
||||
}
|
||||
|
||||
stdcxx::shared_ptr<ThreadManager> threadManager(ThreadManager::newSimpleThreadManager());
|
||||
stdcxx::shared_ptr<ThreadManager> threadManager(ThreadManager::newSimpleThreadManager(16));
|
||||
stdcxx::shared_ptr<PosixThreadFactory> threadFactory(new PosixThreadFactory());
|
||||
threadManager->threadFactory(threadFactory);
|
||||
threadManager->start();
|
||||
|
|
Loading…
Reference in New Issue