Skip to content

Commit 1a7949f

Browse files
committed
fixes after merge
1 parent ba5497a commit 1a7949f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

crates/derivation-pipeline/benches/pipeline.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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 {

crates/watcher/src/handle/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)