Support the ongoing development of Laravel.io →
posted 8 years ago
Queues
Last updated 1 year ago.
0

Hi -- did you ever find a solution to this problem?

Right now, we're working with a legacy PHP application, and having a separate Laravel instance next to it. Laravle is already dispatching and processing jobs, but now we want to dispatch jobs from the legacy application straight to Beanstalkd, with Laravel running it.

The JSON we're posting to Beanstalk is in the form of

{"job":"\\Queue\\Jobs\\StartNew", "data": []"}

For now, I'm running

php artisan queue:listen --timeout=1200 --tries=3 --queue=newjobqueue

which will later move to supervisor. But Laravel keeps discarding the job, with a

Illuminate\Queue\MaxAttemptsExceededException: A queued job has been attempted too many times. The job may have previously timed out.

Anyone have any idea?

Last updated 7 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

shiv6146 shiv6146 Joined 6 Sep 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.