From f6f22e1e5b54a06d586e0d3db2759eb1e598f764 Mon Sep 17 00:00:00 2001 From: joss17 Date: Tue, 27 Apr 2010 21:59:37 +0000 Subject: [PATCH] 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 --- libretroshare/src/pqi/p3connmgr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/pqi/p3connmgr.cc b/libretroshare/src/pqi/p3connmgr.cc index 3cfaacfdf..ea3c66f4d 100644 --- a/libretroshare/src/pqi/p3connmgr.cc +++ b/libretroshare/src/pqi/p3connmgr.cc @@ -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);