mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
testnet changes
This commit is contained in:
parent
ff757ddc88
commit
c72d9695da
2 changed files with 11 additions and 7 deletions
8
NetDb.h
8
NetDb.h
|
@ -31,7 +31,13 @@ namespace data
|
|||
const int NETDB_INTRODUCEE_EXPIRATION_TIMEOUT = 65*60;
|
||||
const int NETDB_MIN_EXPIRATION_TIMEOUT = 90*60; // 1.5 hours
|
||||
const int NETDB_MAX_EXPIRATION_TIMEOUT = 27*60*60; // 27 hours
|
||||
|
||||
|
||||
#ifdef MESHNET
|
||||
const int NETDB_PUBLISH_INTERVAL = 60;
|
||||
#else
|
||||
const int NETDB_PUBLISH_INTERVAL = 60*40;
|
||||
#endif
|
||||
|
||||
class NetDb
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue