From 329aeb2bdccc3febdb50fd718b147ca54734d46c Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Wed, 25 Aug 2021 18:30:02 +0200 Subject: [PATCH] fix(core): update --- ts/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/index.ts b/ts/index.ts index 4dfe049..f10e5ba 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -4,7 +4,7 @@ export class LogTailAccount { private token: string; private timedAggregator = new plugins.lik.TimedAggregtor>({ - aggregationIntervalInMillis: 2000, + aggregationIntervalInMillis: 200, functionForAggregation: async (logPackagesArg) => { const requestBody = []; let lastTimestamp: number = 0; @@ -31,7 +31,7 @@ export class LogTailAccount { 'Authorization': `Bearer ${this.token}` }, requestBody, - keepAlive: true, + keepAlive: false, }); } });