use a direct_kv_rw (unix only)

This commit is contained in:
Hannes Mehnert 2022-09-01 09:32:29 +02:00
parent a3fdc527d2
commit 3aca170154

View file

@ -77,9 +77,13 @@ let program_block_size =
let doc = Key.Arg.info [ "program-block-size" ] in let doc = Key.Arg.info [ "program-block-size" ] in
Key.(create "program_block_size" Arg.(opt int 16 doc)) Key.(create "program_block_size" Arg.(opt int 16 doc))
(*
let kv_rw = let kv_rw =
let block = block_of_file "db" in let block = block_of_file "db" in
chamelon ~program_block_size block chamelon ~program_block_size block
*)
let kv_rw = direct_kv_rw "/tmp/mirror"
let () = register "mirror" let () = register "mirror"
[ mirror $ kv_rw $ default_time $ default_posix_clock $ stack $ git_client $ http_client ] [ mirror $ kv_rw $ default_time $ default_posix_clock $ stack $ git_client $ http_client ]