mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[GH-ISSUE #635] File input limit should be configurable from default 512KB for chat window #262
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mw00/project-maya#262
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @uris-code1 on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/635
Input file limit is hardcoded as 512KB:
const MAX_TEXT_FILE = 512 * 1024;
.
.
if (f.size > MAX_TEXT_FILE) {
toast("warn", "File too large",
${f.name} is over 512 KB.);continue;
}
One can change is higher to 100MB, that is DS4.1 Flash limit also:
const MAX_TEXT_FILE = 100 * 1024 * 1024;
Not sure if bigger file limit will break something but was able to load 672KB json file after above change, 13MB file seems to stall the system