| 3272 | } |
| 3273 | |
| 3274 | int64_t AdmissionController::GetClusterSize( |
| 3275 | const ClusterMembershipMgr::Snapshot& membership_snapshot) { |
| 3276 | int64_t sum = 0; |
| 3277 | for (const auto& it : membership_snapshot.executor_groups) { |
| 3278 | sum += it.second.NumExecutors(); |
| 3279 | } |
| 3280 | return sum; |
| 3281 | } |
| 3282 | |
| 3283 | int64_t AdmissionController::GetMaxMemForPool(const TPoolConfig& pool_config) { |
| 3284 | return pool_config.max_mem_resources; |
nothing calls this directly
no test coverage detected