engine/vars/cache.go

12 lines
218 B
Go
Raw Permalink Normal View History

2024-02-11 01:31:01 +08:00
package vars
import "time"
var (
// cache def value
MemGcDuration time.Duration = 10 * time.Minute
MemLRUMaxNumber int = 1024
MemShardings int = 64
RedisShardings int = 256
)