From 5427be89304f1e5aae415c0bc0eb01d1a3733fc9 Mon Sep 17 00:00:00 2001 From: Hannah Hunter Date: Mon, 22 May 2023 14:51:27 -0400 Subject: [PATCH] move note to actors_api doc Signed-off-by: Hannah Hunter --- .../building-blocks/actors/actors-runtime-config.md | 9 --------- daprdocs/content/en/reference/api/actors_api.md | 10 ++++++++++ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/daprdocs/content/en/developing-applications/building-blocks/actors/actors-runtime-config.md b/daprdocs/content/en/developing-applications/building-blocks/actors/actors-runtime-config.md index b88eef6f7..ce7008c19 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/actors/actors-runtime-config.md +++ b/daprdocs/content/en/developing-applications/building-blocks/actors/actors-runtime-config.md @@ -19,15 +19,6 @@ You can modify the default Dapr actor runtime behavior using the following confi | `remindersStoragePartitions` | Configure the number of partitions for actor's reminders. If not provided, all reminders are saved as a single record in actor's state store. | 0 | | `entitiesConfig` | Configure each actor type individually with an array of configurations. Any entity specified in the individual entity configurations must also be specified in the top level `entities` field. | N/A | -{{% alert title="Note" color="primary" %}} -Actor timeouts and intervals use [Go's ParseDuration](https://pkg.go.dev/time#ParseDuration) format. You can use various string formats to represent durations, including: -- `1h30m` or `1.5h`: A duration of 1 hour and 30 minutes -- `1d12h`: A duration of 1 day and 12 hours -- `500ms`: A duration of 500 milliseconds -- `-30m`: A negative duration of 30 minutes - -{{% /alert %}} - ## Examples {{< tabs ".NET" JavaScript Python Java Go >}} diff --git a/daprdocs/content/en/reference/api/actors_api.md b/daprdocs/content/en/reference/api/actors_api.md index edd6a46ff..919041739 100644 --- a/daprdocs/content/en/reference/api/actors_api.md +++ b/daprdocs/content/en/reference/api/actors_api.md @@ -484,6 +484,16 @@ Parameter | Description `maxStackDepth` | A value in the reentrancy configuration that controls how many reentrant calls be made to the same actor. `entitiesConfig` | Array of entity configurations that allow per actor type settings. Any configuration defined here must have an entity that maps back into the root level entities. + +{{% alert title="Note" color="primary" %}} +Actor timeouts and intervals use [Go's ParseDuration](https://pkg.go.dev/time#ParseDuration) format. You can use various string formats to represent durations. For example: +- `1h30m` or `1.5h`: A duration of 1 hour and 30 minutes +- `1d12h`: A duration of 1 day and 12 hours +- `500ms`: A duration of 500 milliseconds +- `-30m`: A negative duration of 30 minutes + +{{% /alert %}} + ```json { "entities":["actorType1", "actorType2"],