Better actor names for PingActor.

GitOrigin-RevId: 250b34e07669e2df94597afbef3dec9719258ba7
This commit is contained in:
levlam 2019-02-20 05:52:09 +03:00
parent 026863bf09
commit 7890da322b

View File

@ -1110,8 +1110,9 @@ void ConnectionCreator::client_create_raw_connection(Result<ConnectionData> r_co
if (check_mode) {
VLOG(connections) << "Start check: " << debug_str;
auto token = next_token();
children_[token] = {true, create_actor<detail::PingActor>("PingActor", std::move(raw_connection),
std::move(promise), create_reference(token))};
children_[token] = {
true, create_actor<detail::PingActor>(PSLICE() << "PingActor<" << debug_str << ">", std::move(raw_connection),
std::move(promise), create_reference(token))};
} else {
promise.set_value(std::move(raw_connection));
}