Skip to content

Commit

Permalink
feedback ds
Browse files Browse the repository at this point in the history
  • Loading branch information
neuronull committed Aug 23, 2023
1 parent 787ed9a commit fdf5030
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sinks/honeycomb/sink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ where
}

async fn run_inner(self: Box<Self>, input: BoxStream<'_, Event>) -> Result<(), ()> {
let service = ServiceBuilder::new().service(self.service);
input
// Batch the input stream with size calculation based on the estimated encoded json size
.batched(
Expand All @@ -55,7 +54,7 @@ where
})
// Generate the driver that will send requests and handle retries,
// event finalization, and logging/internal metric reporting.
.into_driver(service)
.into_driver(self.service)
.run()
.await
}
Expand Down

0 comments on commit fdf5030

Please sign in to comment.