Gearman Server and Client Libraries

Gearman not seeing changes to queue?

Asked by Andrew Ellis on 2013-01-31

Hello,

I have the gearman_queue MySQL table installed to use for our setup. If I run an INSERT to add a job to the table, then start the gearmand server it is ran. If I run another INSERT while the job server is running, it is *never* ran. I thought gearmand was supposed to actively monitor the queue and run as stuff comes in?

I figure maybe it's because I'm going straight to the DB and running an INSERT command.

However, I am using PHP and I am looking through their documentation and I can't seem to figure out how to go through the their wrapper to add a job to the queue. I've tried addTask, addTaskBackground, do, and doBackground. None of these add the job to the queue.

Best regards,
Andrew

Question information

Language:
English Edit question
Status:
Expired
For:
Gearman Edit question
Assignee:
No assignee Edit question
Last query:
2013-01-31
Last reply:
2013-02-16
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.