From 118a5cddb3cf754494ddf91fa19a9c50ec92dedf Mon Sep 17 00:00:00 2001 From: Javier Aliaga Date: Mon, 1 Sep 2025 17:07:04 +0200 Subject: [PATCH 1/2] docs: Support subsecond precision jobs and reminders Signed-off-by: Javier Aliaga --- .../building-blocks/actors/actors-timers-reminders.md | 3 ++- .../building-blocks/jobs/jobs-features-concepts.md | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/daprdocs/content/en/developing-applications/building-blocks/actors/actors-timers-reminders.md b/daprdocs/content/en/developing-applications/building-blocks/actors/actors-timers-reminders.md index bf828b42836..7a669f61c10 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/actors/actors-timers-reminders.md +++ b/daprdocs/content/en/developing-applications/building-blocks/actors/actors-timers-reminders.md @@ -29,9 +29,10 @@ Supported formats: If `period` is omitted, the callback will be invoked only once. Supported formats: -- time.Duration format, e.g. `2h30m` +- time.Duration format (Sub-second precision is supported when using duration values), e.g. `2h30m` - [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations) format, e.g. `PT2H30M`, `R5/PT1M30S` +Note: Actual trigger resolution may vary by runtime and environment. --- `ttl` is an optional parameter that sets time at which or time interval after which the timer/reminder will be expired and deleted. If `ttl` is omitted, no restrictions are applied. diff --git a/daprdocs/content/en/developing-applications/building-blocks/jobs/jobs-features-concepts.md b/daprdocs/content/en/developing-applications/building-blocks/jobs/jobs-features-concepts.md index 18510be116f..c34f087e5a0 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/jobs/jobs-features-concepts.md +++ b/daprdocs/content/en/developing-applications/building-blocks/jobs/jobs-features-concepts.md @@ -10,8 +10,7 @@ Now that you've learned about the [jobs building block]({{% ref jobs-overview %} into the features and concepts included with Dapr Jobs and the various SDKs. Dapr Jobs: - Provides a robust and scalable API for scheduling operations to be triggered in the future. - Exposes several capabilities which are common across all supported languages. - - +- Supports sub-second precision when using duration values (including ns). Actual trigger resolution may vary by runtime; Cron-based schedules are second-level only. ## Job identity From e982b7b51b8ac410feafade5371ae304bc62ef42 Mon Sep 17 00:00:00 2001 From: Javier Aliaga Date: Wed, 3 Sep 2025 09:05:20 +0200 Subject: [PATCH 2/2] Update daprdocs/content/en/developing-applications/building-blocks/jobs/jobs-features-concepts.md Co-authored-by: Josh van Leeuwen Signed-off-by: Javier Aliaga --- .../building-blocks/jobs/jobs-features-concepts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/developing-applications/building-blocks/jobs/jobs-features-concepts.md b/daprdocs/content/en/developing-applications/building-blocks/jobs/jobs-features-concepts.md index c34f087e5a0..3d88939de59 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/jobs/jobs-features-concepts.md +++ b/daprdocs/content/en/developing-applications/building-blocks/jobs/jobs-features-concepts.md @@ -10,7 +10,7 @@ Now that you've learned about the [jobs building block]({{% ref jobs-overview %} into the features and concepts included with Dapr Jobs and the various SDKs. Dapr Jobs: - Provides a robust and scalable API for scheduling operations to be triggered in the future. - Exposes several capabilities which are common across all supported languages. -- Supports sub-second precision when using duration values (including ns). Actual trigger resolution may vary by runtime; Cron-based schedules are second-level only. +- Supports sub-second precision when using duration values (e.g. `500ms`). Actual trigger resolution may vary by runtime; Cron-based schedules are second-level only. ## Job identity