Skip to content

Commit

Permalink
Merge pull request #1317 from akoshelev/send-buffer-trace-2
Browse files Browse the repository at this point in the history
Print send config in tracing
  • Loading branch information
akoshelev authored Sep 27, 2024
2 parents 5115bb0 + a7b26f8 commit e3b0243
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ipa-core/src/helpers/gateway/send.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,9 @@ impl<I: TransportIdentity> GatewaySenders<I> {
match self.inner.entry(channel_id.clone()) {
Entry::Occupied(entry) => Arc::clone(entry.get()),
Entry::Vacant(entry) => {
let sender = Self::new_sender(
&SendChannelConfig::new::<M>(config, total_records),
channel_id.clone(),
);
let config = SendChannelConfig::new::<M>(config, total_records);
tracing::trace!("send configuration for {channel_id:?}: {config:?}");
let sender = Self::new_sender(&config, channel_id.clone());
entry.insert(Arc::clone(&sender));

tokio::spawn({
Expand Down

0 comments on commit e3b0243

Please sign in to comment.