python student-tests/concurrency.py
time s | processing (DB) | unacked (broker) | waiting in queue
   2.5 |               2 |                0 |                0
   7.1 |               2 |                2 |                4
  10.4 |               2 |                2 |                2
  13.4 |               2 |                2 |                2
  16.1 |               2 |                2 |                2
  20.5 |               2 |                2 |                0
  23.3 |               2 |                2 |                0
  26.5 |               2 |                2 |                0
  29.4 |               0 |                0 |                0
peak: 2 jobs in processing, 2 unacknowledged messages, up to 4 waiting in the queue; all 6 ready after 29.4 s
PASS: at most WORKER_CONCURRENCY=2 jobs run at once and the broker gives the worker at most prefetch=2 messages; the rest wait in the durable queue
