Usage of workers
Hi,
I tried using the code. The documentation helped. I was able to create and add jobs in a high queue using the create function call and was able to check the length of the queue get incremented using the get_queue_size function call.
However, I am still not clear on how to execute the tasks present in the queue. I know I need to call the workers, but on running the function worker($worker_name, $queues, $interval) the logs always said the worker is waiting for a job.
Appreciate the help. Thanks.
Edit: It'll be good if you can provide a common working example.
I am facing the same issue, how did you solve it ?
@adityak74 Please share your solution here.
I have the same issue some. anyone got solution..?
when you call method create it's need you to define the controller, method & params. controller & method here's is to handle your jobs. make sure you have created it before calling your worker.