commit 5a664ec3d95fd06b0b41f2351bec13aad8ac4d6d
parent 771cfc9ca6204c209dc50a30b57cc50360c50b45
Author: Simon Kornblith <simon@simonster.com>
Date: Mon, 15 Apr 2013 14:51:53 -0400
Revert XDR timeout changes from 11316d952b836d193012421ed51f64dc84521b49
Diffstat:
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
@@ -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");