Skip to content
RelKit
Esc
↑↓navigate↵open⌘Jpreview
On this page

RELKIT_JOB_TASK_OPTION_UNSUPPORTED

Jobs backend does not enforce a task limit.

Jobs backend does not enforce a task limit.

What happened

A task declares maxDuration or maxElapsed, and the jobs backend of the profile that runs it does not enforce that limit. The message names the task, the limit, the backend and the profile. relkit check reports it as a warning, and the server logs the same warning when it starts; the check still passes and the task still runs, without the limit.

What to do

Enforce the limit in the task’s handler, for example with the signal and a timer, or remove the option. The local backend from @relkit/local enforces both limits.

Reported by @relkit/cli, relkit/diagnostics.

See all error codes.