Skip to content

Usage of workers #5

@kapasipk

Description

@kapasipk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions