summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-10-02 15:18:32 +0200
committercyBerta <cyberta@riseup.net>2021-10-02 15:18:32 +0200
commit1d6bdaf993b2235f7ebc7ca9d2f3ebc5dee8c9cc (patch)
tree7b39db28fb1f6d6bc93e1b760dfadc3c05085817
parent0f39fcfc827404a58153941d7ce1b57d272f56d7 (diff)
set max snowflake peers to 5 for now
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/tor/ClientTransportPlugin.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/tor/ClientTransportPlugin.java b/app/src/main/java/se/leap/bitmaskclient/tor/ClientTransportPlugin.java
index d0385d1e..0fd51d15 100644
--- a/app/src/main/java/se/leap/bitmaskclient/tor/ClientTransportPlugin.java
+++ b/app/src/main/java/se/leap/bitmaskclient/tor/ClientTransportPlugin.java
@@ -56,7 +56,7 @@ public class ClientTransportPlugin implements ClientTransportPluginInterface {
String front = getCdnFront("snowflake-front");
String stunServer = getCdnFront("snowflake-stun");
Log.d(TAG, "startSnowflake. target: " + target + ", front:" + front + ", stunServer" + stunServer);
- snowflakePort = IPtProxy.startSnowflake( stunServer, target, front, logfile.getAbsolutePath(), false, false, true, 1);
+ snowflakePort = IPtProxy.startSnowflake( stunServer, target, front, logfile.getAbsolutePath(), false, false, true, 5);
Log.d(TAG, "startSnowflake running on port: " + snowflakePort);
watchLogFile(logfile);
}