fix
This commit is contained in:
parent
cd4787991d
commit
936d033547
1
cache/map.go
vendored
1
cache/map.go
vendored
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user