| 83 | } |
| 84 | |
| 85 | bool IsWorker(const std::string& name) { |
| 86 | return name == "worker" || name == "chief"; |
| 87 | } |
| 88 | |
| 89 | size_t GetCoreNumber(const std::string& job_name, size_t total_connections) { |
| 90 | if (total_connections == 0) { |
no outgoing calls
no test coverage detected