mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 13:10:54 +00:00
modify static cache total size about 100m
This commit is contained in:
parent
4b12e053b7
commit
9fda81b7f3
@ -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 (
|
||||||
|
Loading…
Reference in New Issue
Block a user