aboutsummaryrefslogtreecommitdiff
path: root/net.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net.cpp')
-rw-r--r--net.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/net.cpp b/net.cpp
index 8e8127d73b..fbfa746221 100644
--- a/net.cpp
+++ b/net.cpp
@@ -927,9 +927,7 @@ void ThreadOpenConnections2(void* parg)
continue;
// Only try the old stuff if we don't have enough connections
- if (vNodes.size() >= 2 && nSinceLastSeen > 7 * 24 * 60 * 60)
- continue;
- if (vNodes.size() >= 5 && nSinceLastSeen > 24 * 60 * 60)
+ if (vNodes.size() >= 8 && nSinceLastSeen > 24 * 60 * 60)
continue;
// If multiple addresses are ready, prioritize by time since