优化ttlcache

This commit is contained in:
GoEdgeLab
2022-04-09 18:44:51 +08:00
parent bad1e42ff6
commit c0696770f7
4 changed files with 15 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ import (
"time"
)
var ccCache = ttlcache.NewCache(ttlcache.NewPiecesOption(32))
var ccCache = ttlcache.NewCache()
// CC2Checkpoint 新的CC
type CC2Checkpoint struct {