{% macro workers(data={}) -%}

{{ data.worker_size }} of {{ data.total_workers }} Workers Working

The list below contains all workers which are currently running a job.

{% if data.workers %} {% for worker in data.workers %} {% endfor %} {% else %} {% endif %}
  Where Queue Processing
{{ worker.state }} {{ worker.host }}:{{ worker.pid }} {{worker.queue }} {% if worker.data %} {{code}} {{ worker.runat }} {% else %} Waiting for a job... {% endif %}
Nothing is happening right now...
{%- endmacro %} {% macro queues(data={}) -%}

Queues

The list below contains all the registered queues with the number of jobs currently in the queue. Select a queue from above to view all jobs currently pending on the queue.

{% for queue in data.queues %} {% endfor %}
Name Jobs
{{ queue.queue }} {{ queue.size }}
failed {{ data.fail_count }}
{%- endmacro %}