Limit maximum 2 imei files

This commit is contained in:
dx-tan 2024-05-02 14:15:42 +07:00
parent ac62068cc2
commit 05ce547052

View File

@ -214,7 +214,7 @@ CELERY_TASK_TIME_LIMIT = None
MAX_UPLOAD_SIZE_OF_A_FILE = 5 * 1024 * 1024 # 5 MB MAX_UPLOAD_SIZE_OF_A_FILE = 5 * 1024 * 1024 # 5 MB
MAX_UPLOAD_FILE_SIZE_OF_A_REQUEST = 100 * 1024 * 1024 # 100 MB MAX_UPLOAD_FILE_SIZE_OF_A_REQUEST = 100 * 1024 * 1024 # 100 MB
MAX_UPLOAD_FILES_IN_A_REQUEST = 5 MAX_UPLOAD_FILES_IN_A_REQUEST = 2
MAX_PIXEL_IN_A_FILE = 5000 MAX_PIXEL_IN_A_FILE = 5000
TARGET_MAX_IMAGE_SIZE = (2048, 2048) TARGET_MAX_IMAGE_SIZE = (2048, 2048)
SIZE_TO_COMPRESS = 2 * 1024 * 1024 SIZE_TO_COMPRESS = 2 * 1024 * 1024