increse thrift thread count

Former-commit-id: 33cec22bf8733907c7b6d67b5ff8b8cc28a816f7
pull/191/head
starlord 2019-07-17 10:44:55 +08:00
parent d5a8b973c0
commit 51ebdb93a9
1 changed files with 1 additions and 1 deletions

View File

@ -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();