Skip to content

Commit

Permalink
Merge pull request #80 from DaoCasino/disable-old-age-messages-CYB-570
Browse files Browse the repository at this point in the history
CYB-570 hide "Network message dropped, msg age: ..." messages from info log
  • Loading branch information
adrianopol authored Nov 6, 2020
2 parents 767befe + 345c484 commit c685aa9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ class randpa {

void process_net_msg(const randpa_net_msg& msg) {
if (fc::time_point::now() - msg.receive_time > fc::milliseconds(msg_expiration_ms)) {
randpa_wlog("Network message dropped, msg age: ${age}", ("age", fc::time_point::now() - msg.receive_time));
randpa_dlog("Network message dropped, msg age: ${age}", ("age", fc::time_point::now() - msg.receive_time));
return;
}

Expand Down

0 comments on commit c685aa9

Please sign in to comment.