mirror of
				https://github.com/TeaOSLab/EdgeNode.git
				synced 2025-11-04 07:40:56 +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