mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-15 07:06:36 +08:00
优化内存缓存
This commit is contained in:
@@ -54,7 +54,7 @@ func (this *MemoryStorage) Init() error {
|
||||
})
|
||||
|
||||
if this.purgeDuration <= 0 {
|
||||
this.purgeDuration = 30 * time.Second
|
||||
this.purgeDuration = 10 * time.Second
|
||||
}
|
||||
|
||||
// 启动定时清理任务
|
||||
|
||||
Reference in New Issue
Block a user