From b8b29f8853ee15bf7eaef926dcb25c39e621e326 Mon Sep 17 00:00:00 2001 From: rosen-vladimirov Date: Tue, 25 Nov 2014 17:52:41 +0200 Subject: [PATCH] Fix analytics timeout Change dependency of xmlhttprequest to use Telerik fork. Update common lib, where the following change is applied: EqatecMonitor.js call setTimeout of XMLHttpRequest with default value - 10000 ms. Add SetRequestTimeout method to EqatecMonitor which sets global timeout variable (currently this method is not used). The timeout is required in order to prevent console hanging when analytics cannot send the request. --- lib/common | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common b/lib/common index fef717eb2a..33b81c2682 160000 --- a/lib/common +++ b/lib/common @@ -1 +1 @@ -Subproject commit fef717eb2a517b05339e81b87b214fac53be6a19 +Subproject commit 33b81c26827c3f872be810789a987a6061452efb diff --git a/package.json b/package.json index 5ed29a766a..c1334174c7 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "underscore": "1.5.2", "unzip": "0.1.9", "watchr": "2.4.11", - "xmlhttprequest": "1.6.0", + "xmlhttprequest": "https://github.com/telerik/node-XMLHttpRequest/tarball/master", "yargs": "1.2.2" }, "analyze": true,