We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5aacd23 commit a322c07Copy full SHA for a322c07
src/analyzer/sp-spam.ts
@@ -16,7 +16,7 @@ export function detectSpSpam(infoLogLines: LogLine[]): SpSpam[] {
16
let currentSpam: LogLine[] = []
17
18
const addCurrentSpamToResult = () => {
19
- if (currentSpam.length === 0) {
+ if (currentSpam.length < 4) {
20
return
21
}
22
const minimumDurationInMsBetweenSps = currentSpam.reduce((minimumDuration, logLine, index) => {
@@ -60,7 +60,7 @@ export function detectSpSpam(infoLogLines: LogLine[]): SpSpam[] {
60
61
62
63
- const isTooClose = nextSpLogLine.date.diff(logLine.date, 'ms') < 5000
+ const isTooClose = nextSpLogLine.date.diff(logLine.date, 'ms') < 3000
64
if (!isTooClose) {
65
addCurrentSpamToResult()
66
0 commit comments