From fb00a657a0cca2fe683e66c41bd2ed530665ab7a Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Wed, 25 Sep 2019 12:04:48 +0200 Subject: [PATCH] Reduce timeout to 1500 --- lib/utils/tracking.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/tracking.js b/lib/utils/tracking.js index 89f79130f..5fd09b70c 100644 --- a/lib/utils/tracking.js +++ b/lib/utils/tracking.js @@ -72,7 +72,7 @@ function request(type, event, { id, timeout } = {}) { }, method: 'POST', // Ensure reasonable timeout to not block process from exiting - timeout: timeout || 2000, + timeout: timeout || 1500, body: JSON.stringify(event), }).then( response => {