From 81c9799ec67a0ca4b6c5c43a50cfb634cb2eaeef Mon Sep 17 00:00:00 2001 From: David Fifield Date: Thu, 17 Oct 2019 12:53:17 -0600 Subject: [PATCH] Increase proxy poll interval to 300 s. https://bugs.torproject.org/32129 --- proxy-go/snowflake.go | 2 +- proxy/config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy-go/snowflake.go b/proxy-go/snowflake.go index 7dea8e8..6cbc041 100644 --- a/proxy-go/snowflake.go +++ b/proxy-go/snowflake.go @@ -27,7 +27,7 @@ import ( const defaultBrokerURL = "https://snowflake-broker.bamsoftware.com/" const defaultRelayURL = "wss://snowflake.bamsoftware.com/" const defaultSTUNURL = "stun:stun.l.google.com:19302" -const pollInterval = 5 * time.Second +const pollInterval = 300 * time.Second //amount of time after sending an SDP answer before the proxy assumes the //client is not going to connect diff --git a/proxy/config.js b/proxy/config.js index 54c4c32..95ae92e 100644 --- a/proxy/config.js +++ b/proxy/config.js @@ -20,7 +20,7 @@ Config.prototype.minRateLimit = 10 * 1024; Config.prototype.rateLimitHistory = 5.0; -Config.prototype.defaultBrokerPollInterval = 20.0 * 1000; +Config.prototype.defaultBrokerPollInterval = 300.0 * 1000; Config.prototype.maxNumClients = 1; -- 2.20.1