Skip to content

Commit f69a5b9

Browse files
authored
Add docs for max_upload_time
We are running an app with ~1900 users. Since we implemented an upload with Livewire we occasionally got complaints that the upload doesn't work. Files that are uploaded on our app usually have a size between 50 to 75Mb. I finally figured out that the failed upload is only occurring on slow internet connections. It took a while until I found that setting, therefore I made this PR so others may be able to find this easier :)
1 parent f04ad3a commit f69a5b9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

file-uploads.blade.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,3 +478,18 @@ public function upload($name)
478478
];
479479
@endslot
480480
@endcomponent
481+
482+
### Maximum Upload Time
483+
File uploads are automatically invalidated if they take longer than 5 minutes. You can customize this with the following configuration key:
484+
485+
@component('components.code-component')
486+
@slot('class')
487+
return [
488+
...
489+
'temporary_file_upload' => [
490+
...
491+
'max_upload_time' => 5,
492+
],
493+
];
494+
@endslot
495+
@endcomponent

0 commit comments

Comments
 (0)