优化ttlcache

This commit is contained in:
GoEdgeLab
2022-04-09 18:49:52 +08:00
parent c0696770f7
commit fcbce3dbfa

View File

@@ -20,7 +20,7 @@ type Manager struct {
func NewManager() *Manager {
var manager = &Manager{
ticker: time.NewTicker(3 * time.Second),
ticker: time.NewTicker(2 * time.Second),
cacheMap: map[*Cache]zero.Zero{},
}