mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
don't try to republish forever
This commit is contained in:
parent
7d04ba0fc3
commit
4fdd9feddc
|
@ -459,7 +459,7 @@ namespace client
|
||||||
// "this" added due to bug in gcc 4.7-4.8
|
// "this" added due to bug in gcc 4.7-4.8
|
||||||
[s,this](std::shared_ptr<i2p::data::LeaseSet> leaseSet)
|
[s,this](std::shared_ptr<i2p::data::LeaseSet> leaseSet)
|
||||||
{
|
{
|
||||||
if (leaseSet && s->m_LeaseSet)
|
if (leaseSet)
|
||||||
{
|
{
|
||||||
// we got latest LeasetSet
|
// we got latest LeasetSet
|
||||||
LogPrint (eLogDebug, "Destination: published LeaseSet verified for ", GetIdentHash().ToBase32());
|
LogPrint (eLogDebug, "Destination: published LeaseSet verified for ", GetIdentHash().ToBase32());
|
||||||
|
|
5
NetDb.h
5
NetDb.h
|
@ -31,12 +31,7 @@ namespace data
|
||||||
const int NETDB_INTRODUCEE_EXPIRATION_TIMEOUT = 65*60;
|
const int NETDB_INTRODUCEE_EXPIRATION_TIMEOUT = 65*60;
|
||||||
const int NETDB_MIN_EXPIRATION_TIMEOUT = 90*60; // 1.5 hours
|
const int NETDB_MIN_EXPIRATION_TIMEOUT = 90*60; // 1.5 hours
|
||||||
const int NETDB_MAX_EXPIRATION_TIMEOUT = 27*60*60; // 27 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;
|
const int NETDB_PUBLISH_INTERVAL = 60*40;
|
||||||
#endif
|
|
||||||
|
|
||||||
class NetDb
|
class NetDb
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue