From b3b05d1af3b45dfc81eb99c73f9b92a0e1a432e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Fern=C3=A1ndez=20Capel?= Date: Tue, 23 Jan 2018 10:14:24 +0000 Subject: [PATCH] Disable the trailing throttle event in the editing session heartbeat Throttle sends an event as soon as the function is called. Then we wait X minutes, but we only want to send another event if there's any activity *after* those X minutes. --- services/web/public/coffee/main/event.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/public/coffee/main/event.coffee b/services/web/public/coffee/main/event.coffee index 9956400979..b1abf6c674 100644 --- a/services/web/public/coffee/main/event.coffee +++ b/services/web/public/coffee/main/event.coffee @@ -44,7 +44,7 @@ define [ "X-CSRF-Token": window.csrfToken } }) - , EDIT_SESSION_HEARTBEAT_INTERVAL) + , EDIT_SESSION_HEARTBEAT_INTERVAL, trailing: false) sendMB: (key, segmentation = {}) ->