lower the timing to avoid network problem under winxp

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2805 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
joss17 2010-04-27 21:59:37 +00:00
parent 9d5db08b7a
commit f6f22e1e5b

View File

@ -2366,7 +2366,7 @@ bool p3ConnectMgr::retryConnectTCP(std::string id)
pca.addr = ipListIt->ipAddr;
pca.type = RS_NET_CONN_TCP_UNKNOW_TOPOLOGY;
//for the delay, we add a random time and some more time when the friend list is big
pca.delay = P3CONNMGR_TCP_DEFAULT_DELAY + rand() % 3 + (mFriendList.size() / 5);
pca.delay = P3CONNMGR_TCP_DEFAULT_DELAY + rand() % 3 + (mFriendList.size() / 3);
pca.ts = time(NULL);
pca.period = 0;
it->second.connAddrs.push_back(pca);