Could you please explain the purpose of the channel concept in the db driver (or other driver) ?
Could that allow me to use the queue table but pushing jobs for two or more different workers?
thanks
Could you please explain the purpose of the channel concept in the db driver (or other driver) ?
Could that allow me to use the queue table but pushing jobs for two or more different workers?
thanks
It allows you use one DB table to store jobs from multiple queues (with different channel) . But queues with different channel does not share any jobs.
Thanks. Looking at the code of the db driver, it might occur that after handling a job successfully, the delete it or update of the done_at column fail, in which case it will leave the job as reserved in the queue while it was executed fine. Am I correct? This cannot occur with queues like beanstalk. Maybe somthing to clarify in the limitations?
@EPM I’ve been using the DB queue without noticing this problem. If you did, could you open an issue at yii2-queue ?