Revert XDR timeout changes from 11316d952b
This commit is contained in:
parent
771cfc9ca6
commit
5a664ec3d9
|
@ -54,10 +54,10 @@ Zotero.Connector = new function() {
|
||||||
callback(false);
|
callback(false);
|
||||||
};
|
};
|
||||||
|
|
||||||
window.setTimeout(fail, 1200);
|
window.setTimeout(fail, 1000);
|
||||||
try {
|
try {
|
||||||
var xdr = new XDomainRequest();
|
var xdr = new XDomainRequest();
|
||||||
xdr.timeout = 1000;
|
xdr.timeout = 700;
|
||||||
xdr.open("POST", "http://127.0.0.1:23119/connector/ping", true);
|
xdr.open("POST", "http://127.0.0.1:23119/connector/ping", true);
|
||||||
xdr.onerror = function() {
|
xdr.onerror = function() {
|
||||||
Zotero.debug("Connector: XDomainRequest to Zotero Standalone experienced an error");
|
Zotero.debug("Connector: XDomainRequest to Zotero Standalone experienced an error");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user