| 77 | } // namespace |
| 78 | |
| 79 | bool PostInitCacheStorage(graph_op::DistGSOpResource* resource) { |
| 80 | auto cache_storage = NewCacheStorage(); |
| 81 | if (!BuildCacheStorage(cache_storage.get())) { |
| 82 | return false; |
| 83 | } |
| 84 | resource->set_cache_storage(std::move(cache_storage)); |
| 85 | return true; |
| 86 | } |
| 87 | |
| 88 | bool PostInitServerDistribution(int shard_num, |
| 89 | graph_op::DistGSOpResource* resource) { |
no test coverage detected