Has no one ever used delayed jobs with AWS? :)
Delayed Jobs on SQS Queue
Hey guys,
I'm running into a little trouble with delayed jobs in Laravel 5.2 and hope someone can point me in the right direction.
I'm developing a kind of Chat application and for a new feature I'd like to have email notifications if there are new messages for a user. In order to avoid unneccessary spam I want to delay the sending of the notification by 5 minutes or so and after that time check if the user maybe already read the new message so I don't need to send out the email.
The queues are running on Amazon SQS which works perfectly fine (it's already used for other e-mails and I can also see the messages in the AWS console). The problem is now that even using the delay() method with a value of e.g. 30 (but also 300) and calling php artisan queue:work afterwards the message get's handled immediately instead of being delayed.
Are delayed jobs not possible with Amazon or am I missing something here?
Thanks! Frank
Please or to participate in this conversation.