Skip to content

Commit f778d71

Browse files
committed
GH-1245 Reduce logging on expected already connected calls to resolve_and_connect.
1 parent 67e038f commit f778d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/net_plugin/net_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4723,6 +4723,7 @@ namespace eosio {
47234723
std::unique_lock g( connections_mtx );
47244724
supplied_peers.insert(host);
47254725
g.unlock();
4726+
fc_dlog(logger, "API connect ${h}", ("h", host));
47264727
return resolve_and_connect( host, p2p_address );
47274728
}
47284729

@@ -4734,7 +4735,6 @@ namespace eosio {
47344735
{
47354736
std::shared_lock g( connections_mtx );
47364737
if( find_connection_i( peer_address ) ) {
4737-
fc_dlog( logger, "Already connected to ${p}", ("p", peer_address));
47384738
return "already connected";
47394739
}
47404740
}

0 commit comments

Comments
 (0)