Skip to content

Commit 2026f43

Browse files
javier-aliagaJoshVanLmsfussell
authored
[1.16] Support subsecond precision jobs and reminders (#4851)
* docs: Support subsecond precision jobs and reminders Signed-off-by: Javier Aliaga <[email protected]> * Update daprdocs/content/en/developing-applications/building-blocks/jobs/jobs-features-concepts.md Co-authored-by: Josh van Leeuwen <[email protected]> Signed-off-by: Javier Aliaga <[email protected]> * Update daprdocs/content/en/developing-applications/building-blocks/jobs/jobs-features-concepts.md Signed-off-by: Mark Fussell <[email protected]> * Update daprdocs/content/en/developing-applications/building-blocks/actors/actors-timers-reminders.md Signed-off-by: Mark Fussell <[email protected]> * Update daprdocs/content/en/developing-applications/building-blocks/jobs/jobs-features-concepts.md Signed-off-by: Mark Fussell <[email protected]> --------- Signed-off-by: Javier Aliaga <[email protected]> Signed-off-by: Mark Fussell <[email protected]> Co-authored-by: Josh van Leeuwen <[email protected]> Co-authored-by: Mark Fussell <[email protected]>
1 parent 40b6f83 commit 2026f43

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

daprdocs/content/en/developing-applications/building-blocks/actors/actors-timers-reminders.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ Supported formats:
2929
If `period` is omitted, the callback will be invoked only once.
3030

3131
Supported formats:
32-
- time.Duration format, e.g. `2h30m`
32+
- time.Duration format (Sub-second precision is supported when using duration values), e.g. `2h30m`, `500ms`
3333
- [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations) format, e.g. `PT2H30M`, `R5/PT1M30S`
3434

35+
Note: Actual trigger resolution may vary by runtime and environment.
3536
---
3637
`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.
3738

daprdocs/content/en/developing-applications/building-blocks/jobs/jobs-features-concepts.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ Now that you've learned about the [jobs building block]({{% ref jobs-overview %}
1010
into the features and concepts included with Dapr Jobs and the various SDKs. Dapr Jobs:
1111
- Provides a robust and scalable API for scheduling operations to be triggered in the future.
1212
- Exposes several capabilities which are common across all supported languages.
13-
14-
13+
- Supports sub-second precision when using duration values (for example `500ms`). Actual trigger resolution may vary by runtime; Cron-based schedules are at the seconds level only.
1514

1615
## Job identity
1716

0 commit comments

Comments
 (0)