From 526e42a443d81b121ac14c125a2a85e0170b8cff Mon Sep 17 00:00:00 2001 From: Arlo Breault Date: Wed, 3 Jul 2019 15:40:05 +0200 Subject: [PATCH] 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.