[MM-31277]: Change default MaxFileSize from 50Mb to 100Mb (#16668)

Automatic Merge
This commit is contained in:
Haardik Dharma
2021-01-20 08:45:17 +05:30
committed by GitHub
parent d5659adbd7
commit 5a7759f4d6
2 changed files with 2 additions and 1 deletions

View File

@@ -1366,7 +1366,7 @@ func (s *FileSettings) SetDefaults(isUpdate bool) {
}
if s.MaxFileSize == nil {
s.MaxFileSize = NewInt64(52428800) // 50 MB
s.MaxFileSize = NewInt64(MB * 100)
}
if s.DriverName == nil {

View File

@@ -31,6 +31,7 @@ const (
UPPERCASE_LETTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
NUMBERS = "0123456789"
SYMBOLS = " !\"\\#$%&'()*+,-./:;<=>?@[]^_`|~"
MB = 1 << 20
)
type StringInterface map[string]interface{}