Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use streams to append data to files #25

Merged
merged 4 commits into from
Jun 1, 2024

Conversation

ryssbowh
Copy link
Contributor

@ryssbowh ryssbowh commented May 2, 2024

Using this package on a project that handles huge file uploads, I was reaching memory limit when uploading.
This PR allows to use streams instead of strings to write data.

This PR also fixes the following issue : If you set an expiration date to null, the files are automatically deleted by the controller (patch method) as the file is considered old. The method KalynaSolutions\Tus\Tus::isUploadExpired does not check that the expiration date is null

@ArthurPatriot ArthurPatriot merged commit 7bbe2cb into kalynasolutions:main Jun 1, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants