Skip to content

Commit a58256c

Browse files
author
ru.nazarov
committed
fix
1 parent 2caa353 commit a58256c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/data_model/bucket.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ func (b *MetricsBucket) Clear() {
522522
for mID, stat := range b.CurStats {
523523
if stat.Traffic == 0 {
524524
// remove disappeared from last sec, mem economy
525-
clear(stat.Partitions)
525+
clear(stat.Partitions) // help GC
526526
delete(b.CurStats, mID)
527527
continue
528528
}

0 commit comments

Comments
 (0)