[优化] 优化缓存

This commit is contained in:
PandaX
2023-10-17 14:39:01 +08:00
parent 5db1db8289
commit 10b98df33c
17 changed files with 158 additions and 85 deletions

8
pkg/cache/panel.go vendored Normal file
View File

@@ -0,0 +1,8 @@
package cache
import (
"github.com/PandaXGO/PandaKit/cache"
"time"
)
var PanelCache = cache.NewTimedCache(cache.NoExpiration, 600*time.Second)