Alberto Fernández Capel 8 лет назад
Родитель
Сommit
dd2e9d7431
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      services/web/public/coffee/main/event.coffee

+ 2 - 1
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()