Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions lib/saluki-components/src/sources/dogstatsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,6 @@ async fn process_listener(
}

let mut stream_shutdown_coordinator = DynamicShutdownCoordinator::default();
let mut stream_idx: u32 = 0;

info!(%listen_addr, "DogStatsD listener started.");

Expand Down Expand Up @@ -1108,11 +1107,9 @@ async fn process_listener(
};

let task_name = format!(
"dogstatsd-stream-handler-{}-{}",
"dogstatsd-stream-handler-{}",
listen_addr.listener_type(),
stream_idx,
);
stream_idx = stream_idx.wrapping_add(1);
spawn_traced_named(task_name, process_stream(stream, source_context.clone(), handler_context, stream_shutdown_coordinator.register(), enabled_filter));
Comment thread
tobz marked this conversation as resolved.
}
Err(e) => {
Expand Down