1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-13 06:50:55 +00:00

modify static cache total size about 100m

This commit is contained in:
jianzhiyao 2020-05-09 18:24:14 +08:00
parent 4b12e053b7
commit 9fda81b7f3

View File

@ -106,10 +106,10 @@ type serveContentReader struct {
}
const (
//max file size to cache,default: 3m
MaxCacheFileSize int = 1024 * 1024 * 3
//max file count to cache,default: 100
MaxCacheFileCount int = 100
//max file size to cache,default: 100k
MaxCacheFileSize int = 1024 * 100
//max file count to cache,default: 1000
MaxCacheFileCount int = 1000
)
var (