lemos1235 opened this issue 3 years ago · 2 comments
我在使用基于内存的那个缓存,发现当缓存失效的时候,当前进程会挂起,怎么回事?
发现过期后进入 Del 函数造成加锁两次,导致当前线程一直被阻塞。
L57 这里吗。 检查代码好像发现这里该用内部的 del() 方法
del()
cache/driver_memory.go
Lines 49 to 61 in 5e0b108