File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
derivation-pipeline/benches Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,8 @@ fn benchmark_pipeline_derivation_in_file_blobs(c: &mut Criterion) {
124124 let ( tx, rx) = std:: sync:: mpsc:: channel ( ) ;
125125 Handle :: current ( ) . spawn ( async move {
126126 // setup (not measured): create fresh pipeline with 253 committed batches
127- let ( mut pipeline, batches) = setup_pipeline ( Box :: new ( setup_mock_provider) ) . await ;
127+ let ( mut pipeline, batches) =
128+ setup_pipeline ( Box :: new ( setup_mock_provider) ) . await ;
128129
129130 // commit 253 batches.
130131 for batch in batches {
@@ -160,7 +161,8 @@ fn benchmark_pipeline_derivation_s3_blobs(c: &mut Criterion) {
160161 let ( tx, rx) = std:: sync:: mpsc:: channel ( ) ;
161162 Handle :: current ( ) . spawn ( async move {
162163 // setup (not measured): create fresh pipeline with 15 committed batches
163- let ( mut pipeline, batches) = setup_pipeline ( Box :: new ( setup_full_provider) ) . await ;
164+ let ( mut pipeline, batches) =
165+ setup_pipeline ( Box :: new ( setup_full_provider) ) . await ;
164166
165167 // commit 15 batches.
166168 for batch in batches {
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ impl L1WatcherHandle {
2525 }
2626
2727 /// Get a mutable reference to the L1 notification receiver.
28- pub fn l1_notification_receiver ( & mut self ) -> & mut mpsc:: Receiver < Arc < L1Notification > > {
28+ pub const fn l1_notification_receiver ( & mut self ) -> & mut mpsc:: Receiver < Arc < L1Notification > > {
2929 & mut self . l1_notification_rx
3030 }
3131
You can’t perform that action at this time.
0 commit comments