fix: set chunk size to 1 mb
This commit is contained in:
parent
e5f8aef83f
commit
cd49a5977e
|
@ -170,7 +170,7 @@ export function useUppy() {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (useTus) {
|
if (useTus) {
|
||||||
uppy.use(Tus, { limit: 1, parallelUploads: 1 });
|
uppy.use(Tus, { limit: 1, parallelUploads: 1, chunkSize: 1024 * 1024 });
|
||||||
uppy.addPreProcessor(tusPreprocessor);
|
uppy.addPreProcessor(tusPreprocessor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue