Skip to content

Conversation

@NeoIsRecursive
Copy link
Collaborator

This PR adds a config option for chunk_size, which controls the uploads.

The default is set to 2mb, which is the default php upload_max_filesize.

@NeoIsRecursive NeoIsRecursive linked an issue Mar 28, 2025 that may be closed by this pull request
@NeoIsRecursive NeoIsRecursive requested a review from Copilot March 29, 2025 16:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements a configurable upload chunk size to allow runtime adjustment of file upload parameters.

  • Added a chunkSize option in Upload.vue that fetches its value from window.backup.
  • Introduced a chunkSize prop in Backup.vue with a set default value.

Reviewed Changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 2 comments.

File Description
client/src/components/Upload.vue Uses window.backup.chunkSize with a fallback value of 1MB.
client/src/components/Backup.vue Adds a chunkSize prop (default 1MB) and assigns it to window.backup.
Files not reviewed (2)
  • config/backup.php: Language not supported
  • resources/views/backups.blade.php: Language not supported

NeoIsRecursive and others added 2 commits March 29, 2025 17:29
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@NeoIsRecursive NeoIsRecursive merged commit ced0c23 into main Mar 29, 2025
5 checks passed
@NeoIsRecursive NeoIsRecursive deleted the feature/make-upload-chunksize-configurable branch March 29, 2025 23:27
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.

Configurable upload chunksize

2 participants