Adding an option to choose storage engine

This commit is contained in:
hakunamtu 2018-03-05 16:04:02 +03:00
parent ef4e11f00a
commit 8a8ea9d5d4
3 changed files with 20 additions and 2 deletions

View file

@ -231,6 +231,11 @@ namespace config {
("exploratory.outbound.quantity", value<int>()->default_value(3), "Exploratory outbound tunnels quantity")
;
options_description storage("Persistent storage options for NetDb, profiles, etc.");
storage.add_options()
("storage.engine", value<std::string>()->default_value("fs"), "Storage engine")
;
m_OptionsDesc
.add(general)
.add(limits)
@ -248,6 +253,7 @@ namespace config {
.add(trust)
.add(websocket)
.add(exploratory)
.add(storage)
;
}