Skip to content

[_]: fix/upload-file-streams#639

Open
larryrider wants to merge 3 commits into
mainfrom
feat/fix-upload-file-streams
Open

[_]: fix/upload-file-streams#639
larryrider wants to merge 3 commits into
mainfrom
feat/fix-upload-file-streams

Conversation

@larryrider

Copy link
Copy Markdown
Contributor

File uploads (both PUT via WebDAV and the upload-file CLI command) were buffering the entire file content in memory as a single growing Buffer (BufferStream doing Buffer.concat on every chunk) just to have a copy available for thumbnail generation alongside the network upload stream. For large files this caused unnecessary memory pressure and repeated buffer reallocation.
Now it only happens on the WebDAV PUT handler.

@larryrider
larryrider requested a review from AlexisMora July 24, 2026 16:01
@larryrider larryrider self-assigned this Jul 24, 2026
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
75.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant