From 5f1d65d054767f6a5a914591ac5a0328dd1cbe4a Mon Sep 17 00:00:00 2001 From: Dirk de Visser Date: Mon, 11 Sep 2023 13:51:13 +0200 Subject: [PATCH] chore(docs): add minor update to background jobs handler timeout --- docs/features/background-jobs.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/features/background-jobs.md b/docs/features/background-jobs.md index 5a95fd3d71..d2589f74f8 100644 --- a/docs/features/background-jobs.md +++ b/docs/features/background-jobs.md @@ -25,7 +25,10 @@ When to use which function of adding a job: based on the specific `cronExpression`. Jos created will have a default priority of '4'. -Every job runs with a timeout. It is determined in the following order: +Every job runs with a timeout. This timeout is enforced with an `AbortSignal` on +the `event` argument passed to your handler and automatically checked with calls +like `eventStart` and `newEventFromEvent`. It is determined in the following +order: - Timeout of the specific job, via `handlerTimeout` property. Should be used sporadically