From dd2e9d7431498b29d6c0e018f5558e5e44ef559a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Fern=C3=A1ndez=20Capel?= Date: Wed, 24 Jan 2018 15:37:16 +0000 Subject: [PATCH] Remove unused var --- services/web/public/coffee/main/event.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/web/public/coffee/main/event.coffee b/services/web/public/coffee/main/event.coffee index fc203fde26..515b791ee2 100644 --- a/services/web/public/coffee/main/event.coffee +++ b/services/web/public/coffee/main/event.coffee @@ -5,8 +5,9 @@ define [ ], (moment, App) -> CACHE_KEY = "mbEvents" - EDIT_SESSION_HEARTBEAT_INTERVAL = 5 * 60 * 1000 # 5min + # Keep track of when the editing session started and when we should + # send the next heartbeat so we can space them properly sessionStart = new Date() nextHeartbeat = new Date()