FilamentF
Filament2y 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()
            ]);
    }

small files works fine, this only happens with large files.

thank you in advance!
Was this page helpful?