fix(core): update
This commit is contained in:
parent
2a562056ba
commit
329aeb2bdc
@ -4,7 +4,7 @@ export class LogTailAccount {
|
||||
private token: string;
|
||||
|
||||
private timedAggregator = new plugins.lik.TimedAggregtor<plugins.smartlogInterfaces.ILogPackage<{[key: string]: any}>>({
|
||||
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,
|
||||
});
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user