!3227 Disable minddata cache thread

Merge pull request !3227 from xiefangqi/md_comment_cache_server
pull/3227/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit 38355223b0

@ -77,9 +77,13 @@ Status Services::CreateAllInstances() {
rc = sa_[kSlotTaskMgr_]->ServiceStart();
RETURN_IF_NOT_OK(rc);
// TODO(jesse) : Get the parameters from config file. Right now spill to /tmp and spawn 3 workers
#if !defined(_WIN32) && !defined(_WIN64)
sa_[kSlotCacheMgr_] = new (&rc, pool_) CacheServer("/tmp", 3);
RETURN_IF_NOT_OK(rc);
rc = sa_[kSlotCacheMgr_]->ServiceStart();
#else
sa_[kSlotCacheMgr_] = nullptr;
#endif
return rc;
}

Loading…
Cancel
Save