Skip to content
Snippets Groups Projects
Unverified Commit dc0b650a authored by Simon Désaulniers's avatar Simon Désaulniers
Browse files

dht: make sure we are synced before sending put

parent 87cf6fae
Branches
Tags
No related merge requests found
......@@ -1213,6 +1213,9 @@ void Dht::searchSendAnnounceValue(const std::shared_ptr<Search>& sr) {
/* step to clear announces */
scheduler.edit(sr->nextSearchStep, now);
}
} else {
/* Search is now unsynced. Let's call searchStep to sync again. */
scheduler.edit(sr->nextSearchStep, sr->getNextStepTime(types, now));
}
++ait;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment