From ac30152930c1a6a7eb779381941c0228416e81ff Mon Sep 17 00:00:00 2001 From: Ruud Date: Tue, 17 Sep 2013 21:45:43 +0200 Subject: [PATCH] Don't start new long-poll right away. --- couchpotato/core/notifications/core/static/notification.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/notifications/core/static/notification.js b/couchpotato/core/notifications/core/static/notification.js index b05eb1a3..e485976e 100644 --- a/couchpotato/core/notifications/core/static/notification.js +++ b/couchpotato/core/notifications/core/static/notification.js @@ -157,7 +157,7 @@ var NotificationBase = new Class({ } // Restart poll - self.startPoll() + self.startPoll.delay(1500, self); }, showMessage: function(message, sticky, data){