mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37:49 +02:00
Make persistent storage synchronization interval configurable
This commit is contained in:
parent
fdcea5537c
commit
3fd69311cb
4 changed files with 61 additions and 21 deletions
|
@ -256,6 +256,7 @@ namespace config {
|
|||
options_description persist("Network information persisting options");
|
||||
persist.add_options()
|
||||
("persist.profiles", value<bool>()->default_value(true), "Persist peer profiles (default: true)")
|
||||
("persist.syncinterval", value<unsigned>()->default_value(60), "Peer profiles and NetDb persistent storage sync interval in seconds (0 - save only on exit)")
|
||||
;
|
||||
|
||||
m_OptionsDesc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue