Skip to content

$queueDuration

$queueDuration will return the queue duration.

Usage

$queueDuration[humanize?]

Parameters

Field Type Description Required
humanize? boolean convert MS to human-readable time. false

Example(s)

This will return the queue duration

1
client.command({
2
name: 'queueduration',
3
code: `
4
queue duration is:
5
$queueDuration
6
`
7
});