Merge pull request #11325 from overleaf/em-project-upload

Increase the upload project modal timeout

GitOrigin-RevId: 2c1ba1e792bb778c59c0a8bbadf96a0f84de96f7
This commit is contained in:
Eric Mc Sween 2023-01-19 07:15:04 -05:00 committed by Copybot
parent 12579d584a
commit 16627a18ef

View file

@ -41,6 +41,7 @@ function UploadProjectModal({ onHide }: UploadProjectModalProps) {
}, },
limit: 1, limit: 1,
fieldName: 'qqfile', // "qqfile" is needed for our express multer middleware fieldName: 'qqfile', // "qqfile" is needed for our express multer middleware
timeout: 120000,
}) })
.on('file-added', () => { .on('file-added', () => {
// this function can be invoked multiple times depending on maxNumberOfFiles // this function can be invoked multiple times depending on maxNumberOfFiles