From 941599d7f383453626db4f6e54cf804d94bc599a Mon Sep 17 00:00:00 2001 From: Shweta Jain Date: Tue, 8 Aug 2017 18:41:18 +0530 Subject: [PATCH] decrease waiting time to send bulk logs --- lib/loggly/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/loggly/common.js b/lib/loggly/common.js index c1d25f9..660999c 100644 --- a/lib/loggly/common.js +++ b/lib/loggly/common.js @@ -206,7 +206,7 @@ common.loggly = function () { if (timerFunction === null) { timerFunction = setInterval(function () { sendBulkLogs(); - },30000); + },5000); } arrMsg.push(requestBody); if (arrMsg.length === arrSize) {