From 936d03354750a5fef8a7a47bcef93fc9e67dbf3d Mon Sep 17 00:00:00 2001 From: xing Date: Sat, 28 Oct 2023 18:40:21 +0800 Subject: [PATCH] fix --- cache/map.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cache/map.go b/cache/map.go index 9ee8e97..dca74af 100644 --- a/cache/map.go +++ b/cache/map.go @@ -168,6 +168,7 @@ func (m *MapCache[K, V]) GetCacheBatch(c context.Context, key []K, timeout time. v, ok := r[k] if ok { res[i] = v + m.Set(c, k, v) } else { v, ok = m.Get(c, k) if ok {