From 7b479d9411c557ec3bb88f916ac1057619cb655d Mon Sep 17 00:00:00 2001 From: simplefl Date: Sat, 13 Jun 2015 17:49:02 +0200 Subject: [PATCH] Up shoutbox timeout. --- app/views/widgets/_shoutbox.html.erb | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/app/views/widgets/_shoutbox.html.erb b/app/views/widgets/_shoutbox.html.erb index 0bf5238..a962752 100644 --- a/app/views/widgets/_shoutbox.html.erb +++ b/app/views/widgets/_shoutbox.html.erb @@ -11,12 +11,13 @@ \ No newline at end of file + $(document).ready(function () { + $.PeriodicalUpdater("/shoutmsgs/index.js", { + method: "GET", + type: "script", + minTimeout: 20000, + multiplier: 3, + maxTimeout: 300000 + }); + }); +