F
Filament10mo ago
Jacob

Import Action Fails to Handle Large File Uploads

The ImportAction seems to fail when I upload CSV files with more the 50.000 rows. Also the ->maxRows(50000) method in the ImportAction doesn't seems to work.
protected function getHeaderActions(): array
{
return [
ImportAction::make()
->label('Importeren')
->color('info')
->importer(Importer::class)
->maxRows(50000),
];
}
protected function getHeaderActions(): array
{
return [
ImportAction::make()
->label('Importeren')
->color('info')
->importer(Importer::class)
->maxRows(50000),
];
}
I've already tried the following things: - Increase the PHP Max File Upload Size in php.ini - Increase the PHP Memory Limit in php.ini - Increase the max file size in the livewire.php config file
No description
1 Reply
Mark Chaney
Mark Chaney10mo ago
@Jacob have you looked at your web server log and also your laravel log to see if any errors are there as well? Im thinking its timing out way before 50 rows. Also, you have a job queue setup and dont have your queue setup to sync, right? Should be database or redis. Im guessing for your local setup, you have sync
Want results from more Discord servers?
Add your server