From 5a664ec3d95fd06b0b41f2351bec13aad8ac4d6d Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 15 Apr 2013 14:51:53 -0400 Subject: [PATCH] Revert XDR timeout changes from 11316d952b836d193012421ed51f64dc84521b49 --- chrome/content/zotero/xpcom/connector/connector.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/connector/connector.js b/chrome/content/zotero/xpcom/connector/connector.js index 33dfd788d..64ad77912 100644 --- a/chrome/content/zotero/xpcom/connector/connector.js +++ b/chrome/content/zotero/xpcom/connector/connector.js @@ -54,10 +54,10 @@ Zotero.Connector = new function() { callback(false); }; - window.setTimeout(fail, 1200); + window.setTimeout(fail, 1000); try { var xdr = new XDomainRequest(); - xdr.timeout = 1000; + xdr.timeout = 700; xdr.open("POST", "http://127.0.0.1:23119/connector/ping", true); xdr.onerror = function() { Zotero.debug("Connector: XDomainRequest to Zotero Standalone experienced an error");