Browse Source

update timestamp for non-reachable router

pull/2072/head
orignal 7 months ago
parent
commit
7dc5a04b8d
  1. 3
      libi2pd/RouterContext.cpp

3
libi2pd/RouterContext.cpp

@ -1323,9 +1323,12 @@ namespace i2p
if (m_RouterInfo.IsReachableBy (i2p::data::RouterInfo::eAllTransports)) if (m_RouterInfo.IsReachableBy (i2p::data::RouterInfo::eAllTransports))
HandlePublishTimer (ecode); HandlePublishTimer (ecode);
else else
{
UpdateTimestamp (i2p::util::GetSecondsSinceEpoch ());
ScheduleInitialPublish (); ScheduleInitialPublish ();
} }
} }
}
void RouterContext::SchedulePublish () void RouterContext::SchedulePublish ()
{ {

Loading…
Cancel
Save