mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 04:28:10 +00:00
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:
parent
fa9002a339
commit
875c20aa5a
2 changed files with 6 additions and 2 deletions
|
|
@ -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() {
|
||||
//
|
||||
//
|
||||
// }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue