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
10
NetDb.cpp
10
NetDb.cpp
|
@ -124,9 +124,9 @@ namespace data
|
|||
}
|
||||
|
||||
// if we're in hidden mode don't publish or explore
|
||||
if (m_HiddenMode) continue;
|
||||
|
||||
if (ts - lastPublish >= 2400) // publish every 40 minutes
|
||||
// if (m_HiddenMode) continue;
|
||||
|
||||
if (ts - lastPublish >= NETDB_PUBLISH_INTERVAL) // publish
|
||||
{
|
||||
Publish ();
|
||||
lastPublish = ts;
|
||||
|
@ -183,10 +183,8 @@ namespace data
|
|||
// TODO: check if floodfill has been changed
|
||||
}
|
||||
else
|
||||
{
|
||||
LogPrint (eLogDebug, "NetDb: RouterInfo is older: ", ident.ToBase64());
|
||||
updated = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue