F
Filament9mo ago
Hedi

file upload takes too long and ends up with an error

hello, when i try to upload a large file (100mb) this happens. it rotates for a couple seocnds, then the rotation disappears and after a couple minutes the upload fails with "error during upload". this is my code
public static function form(Form $form): Form
{
return $form
->schema([
FileUpload::make('file_name')->directory('uploaded')->preserveFilenames()
]);
}
public static function form(Form $form): Form
{
return $form
->schema([
FileUpload::make('file_name')->directory('uploaded')->preserveFilenames()
]);
}
small files works fine, this only happens with large files. thank you in advance!
1 Reply
Hedi
HediOP9mo ago
Want results from more Discord servers?
Add your server