mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-09 03:10:26 +08:00
优化ttlcache
This commit is contained in:
@@ -24,7 +24,7 @@ type Cache struct {
|
||||
}
|
||||
|
||||
func NewCache(opt ...OptionInterface) *Cache {
|
||||
var countPieces = 128
|
||||
var countPieces = 256
|
||||
var maxItems = 2_000_000
|
||||
|
||||
var totalMemory = utils.SystemMemoryGB()
|
||||
|
||||
Reference in New Issue
Block a user