func (i *Instance) GetMaxUploadSize() int64 {
	i.RLock()
	defer i.RUnlock()
	ret := int64(1024)

	v := i.viper(MaxUploadSize)
	if v.IsSet(MaxUploadSize) {
		ret = v.GetInt64(MaxUploadSize)
	}
	return ret << 20
}
// Max allowed graphql upload size in megabytes
Max allowed graphql upload size in megabytes
// Max allowed graphql upload size in megabytes
func (i *Instance) GetMaxUploadSize() int64 {
	i.RLock()
	defer i.RUnlock()
	ret := int64(1024)
	v := i.viper(MaxUploadSize)
	if v.IsSet(MaxUploadSize) {
		ret = v.GetInt64(MaxUploadSize)
	}
	return ret << 20
}
func ( i * Instance ) GetMaxUploadSize ( ) int64 { i . RLock ( ) defer i . RUnlock ( ) ret := int64 ( 1024 ) v := i . viper ( MaxUploadSize ) if v . IsSet ( MaxUploadSize ) { ret = v . GetInt64 ( MaxUploadSize ) } return ret << 20 }
Max allowed graphql upload size in megabytes
Max allowed graphql upload size in megabytes