{#if self_wait_time_ms != undefined}
Time spent waiting for an executor: {msToSec(self_wait_time_ms)}s
{/if} {#if aggregate_wait_time_ms != undefined}
Child jobs' time spent waiting for an executor: {msToSec(aggregate_wait_time_ms)}s
{/if}
{#if self_wait_time_ms != undefined && aggregate_wait_time_ms != undefined} The top level job and its children (e.g. flow steps) had to wait a for an unexpected amount of time before starting. The first value is the top level job's time spent waiting for a worker and the second is the cumulative wait time for its children. {:else if self_wait_time_ms}
This job spent an unexpected amount of time waiting for a worker before starting.
{:else if aggregate_wait_time_ms != undefined}
This job's children spent an unexpected amount of time waiting for a worker before starting. The value is an aggregate of their individual waiting times.
{/if}
In a healthy queue, jobs are expected to start in under 50ms.
{#if variant === 'icon'} {:else if variant === 'badge'} {msToSec(total_wait)}s {:else if variant === 'badge-self-wait'} {#if self_wait_time_ms} +{msToSec(self_wait_time_ms)}s {/if} {:else if variant === 'alert'} {/if}