Skip to content

Commit

Permalink
fix cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelsc committed Mar 6, 2024
1 parent 6e6542d commit 28232eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/pkg/exporter/modules/dashboard_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ func (d *dashboardData) writeEpochData(epoch int, data []*validatorDashboardData

//Clear old partitions
//todo delete in aggregator, not here
for i := 0; ; i++ {
for i := 0; ; i += PartitionEpochWidth {
startOfPartition, endOfPartition := getPartitionRange(epoch - RetainEpochDuration - i)
finished, err := deleteEpochPartition(startOfPartition, endOfPartition)
if err != nil {
Expand Down

0 comments on commit 28232eb

Please sign in to comment.