mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
Merge pull request #186 from sim590/search-step-after-announce
dht: fix searchstep not scheduled after announcing
This commit is contained in:
commit
7f2b5a44ff
1 file changed
+1
-1
+1
-1
@@ -1360,7 +1360,7 @@ void Dht::searchSendAnnounceValue(const Sp<Search>& sr) {
|
||||
sn->acked[a.value->id] = std::make_pair(std::move(ack_req), next_refresh_time);
|
||||
|
||||
/* step to clear announces */
|
||||
scheduler.edit(sr->nextSearchStep, next_refresh_time);
|
||||
scheduler.edit(sr->nextSearchStep, now);
|
||||
}
|
||||
} else {
|
||||
/* Search is now unsynced. Let's call searchStep to sync again. */
|
||||
|
||||
Reference in new issue
Block a user