Skip to content

Commit 79a0cba

Browse files
committed
Add txn count to propose log
1 parent 3db56b7 commit 79a0cba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

polybase/src/main.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@ async fn main() -> Result<()> {
492492
continue;
493493
}
494494
};
495+
let txns_len = txns.len();
495496

496497
// Create the proposl manfiest
497498
let manifest = ProposalManifest {
@@ -506,7 +507,7 @@ async fn main() -> Result<()> {
506507
};
507508
let proposal_hash = manifest.hash();
508509

509-
info!(logger, "Propose"; "leader_id" => manifest.leader_id.prefix(), "hash" => proposal_hash.to_string(), "height" => height, "skips" => skips);
510+
info!(logger, "Propose"; "leader_id" => manifest.leader_id.prefix(), "hash" => proposal_hash.to_string(), "height" => height, "skips" => skips, "txns" => txns_len);
510511

511512
// Add proposal to own register, this will trigger an accept
512513
solid.receive_proposal(manifest.clone());

0 commit comments

Comments
 (0)