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

publish updated RouterInfo

This commit is contained in:
orignal 2020-11-15 20:05:27 -05:00
parent 4a44b18b97
commit b4369470cb

View File

@ -153,6 +153,7 @@ namespace data
if (!m_HiddenMode && i2p::transport::transports.IsOnline () &&
((m_PublishReplyToken && ts - lastPublish >= NETDB_PUBLISH_CONFIRMATION_TIMEOUT) ||
i2p::context.GetLastUpdateTime () > lastPublish ||
ts - lastPublish >= NETDB_PUBLISH_INTERVAL)) // update timestamp and publish
{
i2p::context.UpdateTimestamp (ts);