mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Mac OS build fixes by laszlo
-- version 0.2.8
This commit is contained in:
parent
288424ad63
commit
240f3fbe2f
12 changed files with 109 additions and 74 deletions
4
net.cpp
4
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue