[Pkg-javascript-commits] [sockjs-client] 57/434: Increase the jsonp timeout to 35 seconds.

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:01 UTC 2014


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch master
in repository sockjs-client.

commit 7486a345b36780b116ad28cb363c33ab17d9b9bb
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Thu Aug 4 17:16:49 2011 +0100

    Increase the jsonp timeout to 35 seconds.
---
 lib/trans-jsonp-receiver.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/trans-jsonp-receiver.js b/lib/trans-jsonp-receiver.js
index 1467590..b35cd5d 100644
--- a/lib/trans-jsonp-receiver.js
+++ b/lib/trans-jsonp-receiver.js
@@ -77,10 +77,10 @@ var jsonPGenericReceiver = function(url, callback) {
         script.async = true;
     }
 
-    // Fallback mostly for Konqueror - stupid timer, 5 seconds shall be plenty.
+    // Fallback mostly for Konqueror - stupid timer, 35 seconds shall be plenty.
     tref = setTimeout(function() {
                           close_script(utils.closeFrame(1006, "JSONP script loaded abnormally (timeout)"));
-                      }, 15000);
+                      }, 35000);
 
     var head = _document.getElementsByTagName('head')[0];
     head.insertBefore(script, head.firstChild);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list