mirror of
https://gitee.com/johng/gf
synced 2026-07-07 06:15:15 +08:00
revert hot fix codes, waiting for next release to fix
This commit is contained in:
@ -79,7 +79,7 @@ func (c *memCache) getExpireSet(expire int64) (expireSet *gset.Set) {
|
||||
c.expireSetMu.RLock()
|
||||
expireSet, _ = c.expireSets[expire]
|
||||
c.expireSetMu.RUnlock()
|
||||
return
|
||||
return nil
|
||||
}
|
||||
|
||||
// 获取或者创建一个过期键名存放Set(由于是异步单线程执行,因此不会出现创建set时的覆盖问题)
|
||||
|
||||
Reference in New Issue
Block a user