Skip to content

Commit e76eff7

Browse files
committed
pass meta_store to configurators function
1 parent b508a74 commit e76eff7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

libsql-server/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,7 @@ where
575575
&mut task_manager,
576576
scheduler_sender.into(),
577577
scripted_backup,
578+
meta_store.clone(),
578579
)
579580
.await?;
580581

@@ -753,6 +754,7 @@ where
753754
task_manager: &mut TaskManager,
754755
migration_scheduler_handle: SchedulerHandle,
755756
scripted_backup: Option<ScriptBackupManager>,
757+
meta_store: MetaStore,
756758
) -> anyhow::Result<(NamespaceConfigurators, MakeReplicationSvc)> {
757759
let wal_path = base_config.base_path.join("wals");
758760
let enable_libsql_wal_test = {
@@ -784,6 +786,7 @@ where
784786
migration_scheduler_handle,
785787
scripted_backup,
786788
wal_path,
789+
meta_store,
787790
)
788791
.await
789792
}
@@ -814,6 +817,7 @@ where
814817
migration_scheduler_handle: SchedulerHandle,
815818
scripted_backup: Option<ScriptBackupManager>,
816819
wal_path: PathBuf,
820+
meta_store: MetaStore,
817821
) -> anyhow::Result<(NamespaceConfigurators, MakeReplicationSvc)> {
818822
tracing::info!("using libsql wal");
819823
let (sender, receiver) = tokio::sync::mpsc::channel(64);

0 commit comments

Comments
 (0)