Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Oppen authored Oct 18, 2024
1 parent 51c454d commit 79d38d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aggregator/internal/pkg/aggregator.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ func (agg *Aggregator) AddNewTask(batchMerkleRoot [32]byte, senderAddress [20]by
agg.logger.Info("New task added", "batchIndex", batchIndex, "batchIdentifierHash", "0x"+hex.EncodeToString(batchIdentifierHash[:]))
}

// long-lived gorouting that periodically checks and removes old Tasks from stored Maps
// Long-lived goroutine that periodically checks and removes old Tasks from stored Maps
// It runs every period and removes all tasks older than blocksOld
// This was added because each task occupies memory in the maps, and we need to free it to avoid a memory leak
func (agg *Aggregator) ClearTasksFromMaps(period time.Duration, blocksOld uint64) {
Expand Down

0 comments on commit 79d38d8

Please sign in to comment.