diff options
author | bobzel <zzzman@gmail.com> | 2024-09-01 00:11:36 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-09-01 00:11:36 -0400 |
commit | b235e116167a06b6d36e2962dd3f610839f18974 (patch) | |
tree | 64c9891ffefcc2c8926371162a89d6fd2fc7bec2 /src/client/Network.ts | |
parent | c36607691e0b7f5c04f3209a64958f5e51ddd785 (diff) |
updated to latest Jimp. fixed lag dropping images from filesystem by using worker threads.
Diffstat (limited to 'src/client/Network.ts')
-rw-r--r-- | src/client/Network.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Network.ts b/src/client/Network.ts index 204fcf0ac..9afdc844f 100644 --- a/src/client/Network.ts +++ b/src/client/Network.ts @@ -50,7 +50,7 @@ export namespace Networking { if (!fileguidpairs.length) { return []; } - const maxFileSize = 6000000; + const maxFileSize = 50000000; if (fileguidpairs.some(f => f.file.size > maxFileSize)) { return new Promise<Upload.FileResponse<T>[]>(res => res([{ source: { newFilename: '', mimetype: '' } as formidable.File, result: new Error(`max file size (${maxFileSize / 1000000}MB) exceeded`) }])); } |