log forward channel buffering

This commit is contained in:
GroovieGermanikus 2023-08-03 09:08:38 +02:00
parent bd3fc48267
commit 9cb24e6788
1 changed files with 4 additions and 0 deletions

View File

@ -145,6 +145,10 @@ impl ProxyListener {
txs.len(),
tpu_address
);
if forwarder_channel_copy.capacity() < forwarder_channel_copy.max_capacity() {
debug!("forward channel buffered: capacity {} of {}",
forwarder_channel_copy.capacity(), forwarder_channel_copy.max_capacity());
}
forwarder_channel_copy
.send_timeout(
ForwardPacket {