Skip to content

Commit

Permalink
Remember to merge counts in IP tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
mia-pi-git committed Oct 1, 2024
1 parent 76394e2 commit 249f6f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
Expand Down

0 comments on commit 249f6f9

Please sign in to comment.