[snowflake/master] Fix ref to undefined global in the badge

commit 526e42a443d81b121ac14c125a2a85e0170b8cff Author: Arlo Breault <arlolra@gmail.com> Date: Wed Jul 3 15:40:05 2019 +0200 Fix ref to undefined global in the badge Introduced in ead579a, `config` is only a global in the webextension. --- proxy/snowflake.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/snowflake.coffee b/proxy/snowflake.coffee index d54f593..6062ca4 100644 --- a/proxy/snowflake.coffee +++ b/proxy/snowflake.coffee @@ -55,7 +55,7 @@ class Snowflake log 'Snowflake IDs: ' + (@proxyPairs.map (p) -> p.id).join ' | ' @pollBroker() @pollInterval = setInterval((=> @pollBroker()), - config.defaultBrokerPollInterval) + @config.defaultBrokerPollInterval) # Regularly poll Broker for clients to serve until this snowflake is # serving at capacity, at which point stop polling.
participants (1)
-
arlo@torproject.org