publish retry on failure for introset publishing

pull/335/head
Jeff Becker 5 years ago
parent a81a483cc2
commit 5642179019
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -694,7 +694,16 @@ namespace llarp
void
Endpoint::IntroSetPublishFail()
{
// TODO: linear backoff
auto now = Now();
if(ShouldPublishDescriptors(now))
{
RegenAndPublishIntroSet(now);
}
else if(NumInStatus(llarp::path::ePathEstablished) < 3)
{
if(m_IntroSet.HasExpiredIntros(now))
ManualRebuild(1);
}
}
bool

Loading…
Cancel
Save