Queues

When selecting a queue from the connection's panel, the main queue view will open up. Here you can get some overview of your queue, including metrics for the last processed jobs, as well as tables that shows the jobs in their different status.

From this view it is possible to perform some queue-wide operations such as: adding new jobs, global pause/resume and queue deletion. Keep in mind that deletion is a destructive operation that cannot be undone.

The tables are not auto-updated so you will need to hit the refresh button in order to get the latest view of a given queue.

Adding jobs

It is possible to add new jobs to a given queue. This is useful when trying out the workers in different contexts. In order to add a new job just press on the + icon in the queue bar:

You need at least version 1.15.0 of the Taskforce connector or a direct Redis connection for the Add job feature to be available.

Clicking on the icon will open the "Add job" dialog:

You will be able to name your job and optionally change the delay or max. attempts settings. For the data portion of the job you get a nice JSON editor. Just fill in your data and click on "Add":

The job will be added directly to the queue and if the queue has running workers it will be processed accordingly.

Leaving the job name empty will produce a job with the special name __default__ which in Bull v3 is the default name when not providing one.

Last updated