Skip to content

Job.setTimeout

Grant Carthew edited this page Sep 30, 2016 · 5 revisions

Method Signature

Job.setTimeout(timeout)

Parameter: timeout Number

  • A timeout value for the job in milliseconds.

Returns: Job Object

Example:

job.setTimeout(10000)

// or

q.createJob().setTimeout(10000)

Description

The Job.setTimeout changes the current timeout value assigned to the job.

See the Job Options document for more detail.

Main

How It Works

Contributing

API

Queue Methods

Queue Properties

Queue Events

Job Methods

Job Properties

Documentation

Clone this wiki locally