Merge branch 'branch-0.3.1' into 'branch-0.3.1'

increse thrift thread count

See merge request megasearch/milvus!227

Former-commit-id: 6e307b269d0ebb15ae08ac61cd720e3d2733ba61
This commit is contained in:
peng.xu 2019-07-17 10:47:50 +08:00
commit 700e8cebf4

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