mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Make protocol message counters more granular:
A running instance of the server tracks the number of protocol messages and the number of bytes it sends and receives. This commit makes the counters more granular, allowing server operators to better track and understand bandwidth usage.
This commit is contained in:
committed by
Manoj doshi
parent
2c4b3d515d
commit
ba2714fa22
@@ -39,8 +39,7 @@ Message::Message (::google::protobuf::Message const& message, int type)
|
||||
message.SerializeToArray (&mBuffer [Message::kHeaderBytes], messageBytes);
|
||||
}
|
||||
|
||||
mCategory = safe_cast<int>(TrafficCount::categorize
|
||||
(message, type, false));
|
||||
mCategory = TrafficCount::categorize(message, type, false);
|
||||
}
|
||||
|
||||
bool Message::operator== (Message const& other) const
|
||||
|
||||
Reference in New Issue
Block a user