Skip to content

Commit 031b06c

Browse files
authored
Merge pull request #610 from AikidoSec/reduce-compressed-stats
Reduce compressed stats per operation from 100 -> 20
2 parents 63e654b + 309f9dc commit 031b06c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/agent/Agent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class Agent {
5656
private rateLimiter: RateLimiter = new RateLimiter(5000, 120 * 60 * 1000);
5757
private statistics = new InspectionStatistics({
5858
maxPerfSamplesInMemory: 5000,
59-
maxCompressedStatsInMemory: 100,
59+
maxCompressedStatsInMemory: 20, // per operation
6060
});
6161
private middlewareInstalled = false;
6262
private attackLogger = new AttackLogger(1000);

0 commit comments

Comments
 (0)