Compare commits
1 Commits
legacy
...
22ed99da86
| Author | SHA1 | Date | |
|---|---|---|---|
| 22ed99da86 |
@@ -2,8 +2,8 @@
|
||||
|
||||
import { useState, useEffect, useRef } from 'react';
|
||||
|
||||
const CHUNK_SIZE = 8 * 1024 * 1024; // 8 MB
|
||||
const PARALLEL_UPLOADS = 4;
|
||||
const CHUNK_SIZE = 4 * 1024 * 1024; // 4 MB
|
||||
const PARALLEL_UPLOADS = 5;
|
||||
|
||||
function bufferToBase64(buffer: ArrayBuffer) {
|
||||
let binary = '';
|
||||
|
||||
Reference in New Issue
Block a user