Skip to content

Commit

Permalink
updated batch_process_participant_shares logging
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKitsune committed Feb 7, 2024
1 parent d100986 commit d018ef9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/coordinator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ impl Coordinator {
&self.config.queues.shares_queue_url,
)
.await?;
//TODO: Add metric for number of messages in queue

metrics::gauge!("uniqueness_check_queue", messages.len() as f64);

for message in messages {
let receipt_handle = message
Expand Down Expand Up @@ -244,6 +245,7 @@ impl Coordinator {
// Collect batches of shares
let (processed_shares_tx, processed_shares_rx) = mpsc::channel(4);

tracing::info!("Spawning batch worker");
let batch_worker = tokio::task::spawn(async move {
loop {
// Collect futures of denominator and share batches
Expand Down

0 comments on commit d018ef9

Please sign in to comment.