fix: set chunk size to 1 mb

This commit is contained in:
Derrick Hammer 2024-03-29 00:19:04 -04:00
parent e5f8aef83f
commit cd49a5977e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ export function useUppy() {
});
if (useTus) {
uppy.use(Tus, { limit: 1, parallelUploads: 1 });
uppy.use(Tus, { limit: 1, parallelUploads: 1, chunkSize: 1024 * 1024 });
uppy.addPreProcessor(tusPreprocessor);
}