Skip to content

Commit

Permalink
Implemented suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Modularius committed Dec 9, 2024
1 parent 677ed2f commit c4e7ae0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions trace-to-events/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ use supermusr_streaming_types::{
FrameMetadata,
};
use tokio::sync::mpsc::{error::TrySendError, Receiver, Sender};
use tracing::{debug, error, instrument, metadata::LevelFilter, trace, warn};
use tracing::{debug, error, info, instrument, metadata::LevelFilter, trace, warn};

#[derive(Debug, Parser)]
#[clap(author, version, about)]
Expand Down Expand Up @@ -140,7 +140,6 @@ async fn main() -> anyhow::Result<()> {
"Number of failures encountered"
);

//let mut kafka_producer_thread_set = JoinSet::new();
let sender = create_producer_task(args.send_eventlist_buffer_size);

loop {
Expand Down Expand Up @@ -195,7 +194,7 @@ async fn produce_to_kafka(mut channel_recv: Receiver<DeliveryFuture>) {
}
},
None => {
error!("Send-Frame Receiver Error");
info!("Send-Frame channel closed");
return;
}
}
Expand Down

0 comments on commit c4e7ae0

Please sign in to comment.