Increase size of tarball upload (#20767)
- check size while reading stream instead of checking after reading all stream - move MAX_TARBALL_UPLOAD_SIZE_BYTES to config variables - increase MAX_TARBALL_UPLOAD_SIZE_BYTES default from 50Mb to 100Mb
This commit is contained in:
@@ -530,6 +530,16 @@ export class ConfigVariables {
|
||||
@IsOptional()
|
||||
STORAGE_S3_PRESIGNED_URL_EXPIRES_IN: number = 900;
|
||||
|
||||
@ConfigVariablesMetadata({
|
||||
group: ConfigVariablesGroup.STORAGE_CONFIG,
|
||||
description:
|
||||
'Maximum tarball upload size in bytes for application registration',
|
||||
type: ConfigVariableType.NUMBER,
|
||||
})
|
||||
@CastToPositiveNumber()
|
||||
@IsOptional()
|
||||
MAX_TARBALL_UPLOAD_SIZE_BYTES: number = 100 * 1024 * 1024;
|
||||
|
||||
@ConfigVariablesMetadata({
|
||||
group: ConfigVariablesGroup.LOGIC_FUNCTION_CONFIG,
|
||||
description: 'Type of function execution (local or Lambda)',
|
||||
|
||||
Reference in New Issue
Block a user