improve buffer logging

This commit is contained in:
GroovieGermanikus 2024-06-26 08:59:50 +02:00
parent 7e121e9606
commit 3c10711732
No known key found for this signature in database
GPG Key ID: 5B6EB831A5CD2015
1 changed files with 2 additions and 2 deletions

View File

@ -1414,8 +1414,8 @@ pub async fn send_block_info_to_buffer(
block_info: BlockInfo,
) -> anyhow::Result<()> {
debug!(
"block buffer capacity: {}",
block_sender_postgres.capacity()
"block buffer remaining capacity: {}",
block_sender_postgres.max_capacity() - block_sender_postgres.capacity()
);
const WARNING_THRESHOLD: Duration = Duration::from_millis(3000);