reduced max outbound connections from 15 to 8 --version 0.3 rc4

git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@96 1a98c847-1fd6-4fd8-948a-caf3550aa51b
This commit is contained in:
s_nakamoto
2010-07-02 23:43:29 +00:00
parent 06c4716396
commit f077bc0f48
6 changed files with 6 additions and 5 deletions

View File

@@ -882,7 +882,7 @@ void ThreadOpenConnections2(void* parg)
// Wait
vnThreadsRunning[1]--;
Sleep(500);
const int nMaxConnections = 15;
const int nMaxConnections = 8;
while (vNodes.size() >= nMaxConnections)
{
Sleep(2000);