set max rdv connection to 2

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@123 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
jehan 2008-10-27 20:34:45 +00:00
parent fa9002a339
commit 875c20aa5a
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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() {
//
//
// }
}