Skip to content

Commit 9bad9c1

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

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
@@ -195,7 +195,7 @@ func (a *AtomicCache) Set(key string, data []byte, expire time.Duration) error {
195195
} else {
196196
if val.ShardSection != shardSectionID {
197197
// Key exists but data size changed: move to new section, free old record.
198-
// Explaination: If the record size changed and data should be stored in a different
198+
// Explanation: If the record size changed and data should be stored in a different
199199
// shard section, we need to free the old record and allocate a new record in
200200
// the correct shard section.
201201
a.Lock()

0 commit comments

Comments
 (0)