{% with messages = get_flashed_messages() %} {% if messages %}
{% endif %} {% endwith %}

next available slot: {{uwsgi.queue_slot()}}

next available pull slot: {{uwsgi.queue_pull_slot()}}

{% for item in range(0, uwsgi.queue_size) %} slot {{item}} = {{uwsgi.queue_get(item)}}
{% endfor %}