mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 12:24:19 +00:00
added some limits options
This commit is contained in:
parent
3c2a3898e1
commit
bb656ce44b
@ -130,6 +130,13 @@ namespace config {
|
||||
("close", value<std::string>()->default_value("ask"), "Action on close: minimize, exit, ask") // TODO: add custom validator or something
|
||||
#endif
|
||||
;
|
||||
options_description limits("Limits options");
|
||||
limits.add_options()
|
||||
("limits.transit", value<uint16_t>()->default_value(2500), "Maximum active transit sessions (default:2500)")
|
||||
("limits.router", value<uint16_t>()->default_value(4096), "Maximum active router sessions (default:4096)")
|
||||
("limits.client", value<uint16_t>()->default_value(1024), "Maximum active client sessions (default:1024)")
|
||||
("limits.floodfill", value<uint16_t>()->default_value(1024), "Maximum active floodfill sessions (default:1024)")
|
||||
;
|
||||
|
||||
options_description httpserver("HTTP Server options");
|
||||
httpserver.add_options()
|
||||
|
Loading…
x
Reference in New Issue
Block a user