Maatwebsite\Excel\Jobs\QueueExport has been attempted too many times or run too long. #3994
Unanswered
umarfarooqcryptojobs
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am facing this issue while exporting a data set of only 20k rows using export from Views
I am really stuck here, Please help me and provide some solution
Illuminate\Queue\MaxAttemptsExceededException: Maatwebsite\Excel\Jobs\QueueExport has been attempted too many times or run too long. The job may have previously timed out. in /var/app/current/vendor/laravel/framework/src/Illuminate/Queue/Worker.php:746
Here is my code in controller function
$jobs = $jobs->limit(null)->get();
\Maatwebsite\Excel\Facades\Excel::queue(
new JobsListingExport($jobs),
$filePath,
's3',
\Maatwebsite\Excel\Excel::CSV
)
->chain([
new AdminExportNotification($fileName, $filePath, $request->fileType, auth()->user()->email, $subject),
])->onQueue('low');
This is my Export file
class JobsListingExport implements FromView, ShouldAutoSize
{
protected $jobs;
}
this is my blade file, not showing all columns values here
Beta Was this translation helpful? Give feedback.
All reactions