mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
Adding an option to choose storage engine
This commit is contained in:
parent
ef4e11f00a
commit
8a8ea9d5d4
3 changed files with 20 additions and 2 deletions
|
@ -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)
|
||||
;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue