mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[MM-31277]: Change default MaxFileSize from 50Mb to 100Mb (#16668)
Automatic Merge
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -31,6 +31,7 @@ const (
|
||||
UPPERCASE_LETTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||
NUMBERS = "0123456789"
|
||||
SYMBOLS = " !\"\\#$%&'()*+,-./:;<=>?@[]^_`|~"
|
||||
MB = 1 << 20
|
||||
)
|
||||
|
||||
type StringInterface map[string]interface{}
|
||||
|
||||
Reference in New Issue
Block a user