Rediff patches

Drop 0002-do-not-requeue-nodes-for-testing-from-failing-queue-.patch: <REASON>
ubuntu/hirsute
Jason Rhinelander 3 years ago
parent c829a5eb46
commit 735faed6d3

@ -1,23 +0,0 @@
From: Jeff Becker <jeff@i2p.rocks>
Date: Fri, 29 Oct 2021 10:45:02 -0400
Subject: do not requeue nodes for testing from failing queue if we do not
have them marked as failing anymore
---
llarp/consensus/reachability_testing.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/llarp/consensus/reachability_testing.cpp b/llarp/consensus/reachability_testing.cpp
index 99190bc..36281d4 100644
--- a/llarp/consensus/reachability_testing.cpp
+++ b/llarp/consensus/reachability_testing.cpp
@@ -124,7 +124,8 @@ namespace llarp::consensus
auto& [pk, retest_time, failures] = failing_queue.top();
if (retest_time > now)
break;
- result.emplace_back(pk, failures);
+ if (failing.count(pk))
+ result.emplace_back(pk, failures);
failing_queue.pop();
}
return result;

@ -1,2 +1 @@
0007-Pass-debian-version-as-GIT_VERSION.patch
0002-do-not-requeue-nodes-for-testing-from-failing-queue-.patch

Loading…
Cancel
Save