OptionalattemptsOptionalbackoffBackoff setting for automatic retries if the job fails
OptionaldelayAn amount of milliseconds to wait until this job can be processed. Note that for accurate delays, worker and producers should have their clocks synchronized.
OptionalkeepMaximum amount of log entries that will be preserved
OptionallifoIf true, adds the job to the right of the queue instead of the left (default false)
OptionalpriorityRanges from 1 (highest priority) to MAX_INT (lowest priority). Note that using priorities has a slight impact on performance, so do not use it if not required.
OptionalremoveIf true, removes the job when it successfully completes When given a number, it specifies the maximum amount of jobs to keep, or you can provide an object specifying max age and/or count to keep. It overrides whatever setting is used in the worker. Default behavior is to keep the job in the completed set.
OptionalremoveIf true, removes the job when it fails after all attempts. When given a number, it specifies the maximum amount of jobs to keep, or you can provide an object specifying max age and/or count to keep. It overrides whatever setting is used in the worker. Default behavior is to keep the job in the failed set.
OptionalsizeLimits the size in bytes of the job's data payload (as a JSON serialized string).
OptionalstackLimits the amount of stack trace lines that will be recorded in the stacktrace.
OptionaltimestampTimestamp when the job was created.
The total number of attempts to try the job until it completes.