webtechnick / CakePHP-Queue-Plugin

Process Queuing plugin for CakePHP
24 stars 12 forks source link

Stop works, after changing status to "2:inprogress" #2

Open notRuslan opened 9 years ago

notRuslan commented 9 years ago

I'm testing your plugin. When I have some records in queue_tasks table ( about 5000 rows), I manually run command "cake Queue.queue process" ('limit' => 100) it works, first time , second time but in one moment without any errors I see all my tasks staying in queue, and status changes only, and if I run command "cake Queue.queue run ID " it's push process.

hugodias commented 9 years ago

+1. How did you solved it @notRuslan ?

notRuslan commented 9 years ago

just change status from 2 to 1, and process all again. But I know, in my case it happens, when something wrong with SMTP connection, and my SMTP server needs timeout.