Skip to content

Commit

Permalink
Add debug output for logs sending
Browse files Browse the repository at this point in the history
  • Loading branch information
kalabukdima committed Mar 3, 2025
1 parent 32bd607 commit 3c26abc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "sqd-worker"
license = "AGPL-3.0-or-later"
version = "2.1.0-rc1"
version = "2.1.0-alpha1"
edition = "2021"

[[bin]]
Expand Down
2 changes: 1 addition & 1 deletion src/controller/p2p.rs
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ impl<EventStream: Stream<Item = WorkerEvent> + Send + 'static> P2PController<Eve
MAX_LOGS_SIZE,
)
.await?;
info!("Sending {} logs", msg.queries_executed.len());
info!("Sending {} logs ({} bytes)", msg.queries_executed.len(), msg.encoded_len());
self.transport_handle.send_logs(msg, resp_chan)?;
Ok(())
}
Expand Down

0 comments on commit 3c26abc

Please sign in to comment.