connector-contract-v3: handle the Result of add_generic_backing_store (CultLib a4eae90)
The previous commit does not build with the daemon feature: the pinned CultCache returns a Result there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5a4d8bd477
commit
e669d2b867
1 changed files with 6 additions and 3 deletions
|
|
@ -159,9 +159,12 @@ impl TransportService {
|
|||
replay_store
|
||||
.register_entry_type::<ReplayRecord>()
|
||||
.map_err(replay_store_error)?;
|
||||
replay_store.add_generic_backing_store(
|
||||
OwnedRedbMessagePackBackingStore::new(replay_store_path).map_err(replay_store_error)?,
|
||||
);
|
||||
replay_store
|
||||
.add_generic_backing_store(
|
||||
OwnedRedbMessagePackBackingStore::new(replay_store_path)
|
||||
.map_err(replay_store_error)?,
|
||||
)
|
||||
.map_err(replay_store_error)?;
|
||||
replay_store
|
||||
.pull_all_backing_stores()
|
||||
.map_err(replay_store_error)?;
|
||||
|
|
|
|||
Loading…
Reference in a new issue