1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 12:24:19 +00:00

limits options

This commit is contained in:
weekendi2p 2016-04-20 19:24:50 +02:00
parent 8456c8b47b
commit 9a86034162

View File

@ -130,9 +130,10 @@ 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.transittunnels", value<uint16_t>()->default_value(2500), "Maximum active transit sessions (default:2500)")
;
options_description httpserver("HTTP Server options");