Synchronize (and fix) maximal size of lmdb dbs
Store can now be up to 40 Go large (was 4 To!) Context can now be up to 400 Go large (was 40 Go)
This commit is contained in:
parent
98076324bf
commit
677d2ae9d6
@ -1287,8 +1287,8 @@ let read
|
|||||||
|
|
||||||
let init
|
let init
|
||||||
?patch_context
|
?patch_context
|
||||||
?(store_mapsize=4_096_000_000_000L)
|
?(store_mapsize=40_960_000_000L)
|
||||||
?(context_mapsize=40_960_000_000L)
|
?(context_mapsize=409_600_000_000L)
|
||||||
~store_root
|
~store_root
|
||||||
~context_root
|
~context_root
|
||||||
genesis =
|
genesis =
|
||||||
|
2
vendors/irmin-lmdb/irmin_lmdb.ml
vendored
2
vendors/irmin-lmdb/irmin_lmdb.ml
vendored
@ -104,7 +104,7 @@ module Conf = struct
|
|||||||
|
|
||||||
let root = Irmin.Private.Conf.root
|
let root = Irmin.Private.Conf.root
|
||||||
let mapsize =
|
let mapsize =
|
||||||
Irmin.Private.Conf.key "mapsize" int64_converter 40_960_000_000L
|
Irmin.Private.Conf.key "mapsize" int64_converter 409_600_000_000L
|
||||||
let readonly =
|
let readonly =
|
||||||
Irmin.Private.Conf.key "readonly" bool_converter false
|
Irmin.Private.Conf.key "readonly" bool_converter false
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user