Skip to content

Commit

Permalink
core: set interest lifetime to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsejet committed Jul 13, 2023
1 parent dedccbd commit a1eb5cf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ndn-svs/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,7 @@ SVSyncCore::sendSyncInterest()
}

interest.setName(syncName);
interest.setInterestLifetime(time::milliseconds(1000));
interest.setCanBePrefix(true);
interest.setMustBeFresh(true);
interest.setInterestLifetime(time::milliseconds(0));

switch (m_securityOptions.interestSigner->signingInfo.getSignerType())
{
Expand Down

0 comments on commit a1eb5cf

Please sign in to comment.