From 249f6f9c34fd1cf933a65dd1078ac33571cd4b98 Mon Sep 17 00:00:00 2001 From: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue, 1 Oct 2024 13:58:40 -0500 Subject: [PATCH] Remember to merge counts in IP tracking --- src/utils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils.ts b/src/utils.ts index e3edf25..a01efd8 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -135,6 +135,7 @@ export class TimeSorter { if (other[k].max > this.data[k].max) { this.data[k].max = other[k].max; } + this.data[k].count += other[k].count; } else { this.data[k] = other[k]; }