about summary refs log tree commit diff
path: root/tvix/store/src/main.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-01-18T20·43+0100
committerflokli <flokli@flokli.de>2023-01-21T10·48+0000
commite719da53be01151a2a232c55b9f74d7fa09224a9 (patch)
treec817117a2e49caf8febb82374b623736185e968a /tvix/store/src/main.rs
parent22b9e6ff092c531ee72037ff8f4c065eaff3b839 (diff)
feat(tvix/store): add SledDirectoryService r/5722
Change-Id: I8e97a59da2c6623f4cca746efa741097a6dbe5b1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7871
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/store/src/main.rs')
-rw-r--r--tvix/store/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tvix/store/src/main.rs b/tvix/store/src/main.rs
index 4fa09f28a285..69b7722f8d7e 100644
--- a/tvix/store/src/main.rs
+++ b/tvix/store/src/main.rs
@@ -35,7 +35,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
     let mut server = Server::builder();
 
     let blob_service = tvix_store::dummy_blob_service::DummyBlobService {};
-    let directory_service = tvix_store::dummy_directory_service::DummyDirectoryService {};
+    let directory_service =
+        tvix_store::sled_directory_service::SledDirectoryService::new("directories.sled".into())?;
     let path_info_service =
         tvix_store::sled_path_info_service::SledPathInfoService::new("pathinfo.sled".into())?;