Skip to content

Commit

Permalink
[OPT-850] Modify MAX SIZE parameter to 1Mb.
Browse files Browse the repository at this point in the history
  • Loading branch information
daFont-iriusrisk committed May 10, 2023
1 parent 7d82b80 commit 2239c5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion slp_cft/slp_cft/validate/cft_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

logger = logging.getLogger(__name__)

MAX_SIZE = 20 * 1024 * 1024
MAX_SIZE = 1 * 1024 * 1024
MIN_SIZE = 13


Expand Down
4 changes: 2 additions & 2 deletions slp_cft/tests/unit/validate/test_cft_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from slp_cft.slp_cft.validate.cft_validator import CloudformationValidator

VALID_MIME = 'text/plain'
MIN_SIZE = 20
MAX_SIZE = 20 * 1024 * 1024
MIN_SIZE = 13
MAX_SIZE = 1 * 1024 * 1024


def create_cloudformation_file_data(size: int) -> bytes:
Expand Down

0 comments on commit 2239c5e

Please sign in to comment.