mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 12:17:49 +02:00
don't delete floodfill if number of remaining floodfills is less than minimal
(cherry picked from commit 541464b705
)
This commit is contained in:
parent
63881869bc
commit
cf25ea3e13
2 changed files with 7 additions and 3 deletions
|
@ -36,6 +36,7 @@ namespace i2p
|
|||
namespace data
|
||||
{
|
||||
const int NETDB_MIN_ROUTERS = 90;
|
||||
const int NETDB_MIN_FLOODFILLS = 5;
|
||||
const int NETDB_FLOODFILL_EXPIRATION_TIMEOUT = 60 * 60; // 1 hour, in seconds
|
||||
const int NETDB_INTRODUCEE_EXPIRATION_TIMEOUT = 65 * 60;
|
||||
const int NETDB_MIN_EXPIRATION_TIMEOUT = 90 * 60; // 1.5 hours
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue