Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage of workers #5

Open
kapasipk opened this issue Oct 27, 2016 · 4 comments
Open

Usage of workers #5

kapasipk opened this issue Oct 27, 2016 · 4 comments

Comments

@kapasipk
Copy link

kapasipk commented Oct 27, 2016

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.

@kapasipk kapasipk reopened this Oct 28, 2016
@jasbirsingh-c
Copy link

I am facing the same issue, how did you solve it ?

@kapasipk
Copy link
Author

@adityak74 Please share your solution here.

@chaturanga836
Copy link

I have the same issue some. anyone got solution..?

@underdos
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants