Skip to content

Commit ce5cdcd

Browse files
praserxCopilot
andauthored
chore: fix typo
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 55d33a0 commit ce5cdcd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ func (a *AtomicCache) Set(key string, data []byte, expire time.Duration) error {
229229
a.Unlock()
230230
} else if si, ok := a.getEmptyShard(shardSectionID); ok {
231231
// No shard with space, allocate new shard.
232-
// Explaination: If there is no shard with available space, we allocate a new shard
232+
// Explanation: If there is no shard with available space, we allocate a new shard
233233
// and set the data in that new shard. This is necessary when all existing shards
234234
// are full and we need to create a new shard to accommodate the new record.
235235
// This ensures that we can always store new records, even if it means creating a

0 commit comments

Comments
 (0)