$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
1client.command({2 name: 'queueduration',3 code: `4 queue duration is:5 $queueDuration6 `7});
Thie will return the queue duration
1module.exports = [{2 name: "queueduration",3 code: `4 current queue is:5 $queueDuration6 `7}]