mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-03 23:11:55 +08:00
优化ttlcache
This commit is contained in:
@@ -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{},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user