init
This commit is contained in:
11
vars/cache.go
Normal file
11
vars/cache.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package vars
|
||||
|
||||
import "time"
|
||||
|
||||
var (
|
||||
// cache def value
|
||||
MemGcDuration time.Duration = 10 * time.Minute
|
||||
MemLRUMaxNumber int = 1024
|
||||
MemShardings int = 64
|
||||
RedisShardings int = 256
|
||||
)
|
||||
Reference in New Issue
Block a user