apinstein / jqjobs

A job queue engine for PHP.
32 stars 5 forks source link

Weird no-op "no jobs available" when a job fails to unserialize #15

Closed apinstein closed 10 years ago

apinstein commented 10 years ago

I think I need to inject DB job into JQManagedJob as a transient property here (https://github.com/apinstein/jqjobs/blob/locking-fixes/src/JQJobs/JQStore/Propel.php#L188-L194) and wait until the next() returns here (https://github.com/apinstein/jqjobs/blob/locking-fixes/src/JQJobs/JQWorker.php#L149) to unserialize it so that the exception can be caught in the job stack rather than being silently eaten.

apinstein commented 10 years ago

Fixed in dfd2d74