mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-05-06 12:01:27 +08:00
[优化] 优化缓存
This commit is contained in:
8
pkg/cache/panel.go
vendored
Normal file
8
pkg/cache/panel.go
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
package cache
|
||||
|
||||
import (
|
||||
"github.com/PandaXGO/PandaKit/cache"
|
||||
"time"
|
||||
)
|
||||
|
||||
var PanelCache = cache.NewTimedCache(cache.NoExpiration, 600*time.Second)
|
||||
Reference in New Issue
Block a user