Commit 875c20aa authored by jehan's avatar jehan

set max rdv connection to 2

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@123 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent fa9002a3
......@@ -129,7 +129,7 @@ public class EdgePeerRdvService extends StdRendezVousService {
/**
* Number of rendezvous we will try to connect to.
*/
private final int MAX_RDV_CONNECTIONS = 1;
private final int MAX_RDV_CONNECTIONS = 2;
/**
* The default amount of time we will attempt to renew a lease before it
......
......@@ -49,6 +49,7 @@ import net.jxta.document.AdvertisementFactory;
import net.jxta.exception.JxtaException;
import net.jxta.id.ID;
import net.jxta.id.IDFactory;
import net.jxta.peer.PeerID;
import net.jxta.peergroup.NetPeerGroupFactory;
import net.jxta.peergroup.PeerGroup;
import net.jxta.peergroup.PeerGroupID;
......@@ -379,5 +380,8 @@ public class JxtaNetworkManager {
}
return aList;
}
// private List<PeerID> getRdvPeers() {
//
//
// }
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment