1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-26 17:44:12 +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 ( const (
//max file size to cache,default: 3m //max file size to cache,default: 100k
MaxCacheFileSize int = 1024 * 1024 * 3 MaxCacheFileSize int = 1024 * 100
//max file count to cache,default: 100 //max file count to cache,default: 1000
MaxCacheFileCount int = 100 MaxCacheFileCount int = 1000
) )
var ( var (