Skip to content

Commit

Permalink
feat: add MAX_NUMBER_OF_FILES_UPLOAD (#562)
Browse files Browse the repository at this point in the history
* feat: add MAX_NUMBER_OF_FILES_UPLOAD

* refactor: fix comment

* refactor: set as const
  • Loading branch information
pyphilia authored Jun 21, 2024
1 parent 97904f5 commit 6f78780
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/constants/limits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ export const MAX_ZIP_FILE_SIZE = 1024 * 1024 * 250; // 250MB
*/
export const MAX_FILE_SIZE = 1024 * 1024 * 1024; // 1GB

/**
* Maximum number of files one can upload in parallel
*/
export const MAX_NUMBER_OF_FILES_UPLOAD = 20 as const;

/**
* Maximum size for a thumbnail
*/
Expand Down

0 comments on commit 6f78780

Please sign in to comment.