63 bool has_service =
false;
64 auto step_duration = std::chrono::nanoseconds(5 * 1000 * 1000);
65 while (time_out.count() > 0) {
66 has_service = service_discovery::TopologyManager::Instance()
70 std::this_thread::sleep_for(step_duration);
71 time_out -= step_duration;