mirror of https://github.com/dapr/docs.git
move note to actors_api doc
Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
parent
7ccec1b5b4
commit
5427be8930
|
@ -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 |
|
| `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 |
|
| `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
|
## Examples
|
||||||
|
|
||||||
{{< tabs ".NET" JavaScript Python Java Go >}}
|
{{< tabs ".NET" JavaScript Python Java Go >}}
|
||||||
|
|
|
@ -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.
|
`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.
|
`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
|
```json
|
||||||
{
|
{
|
||||||
"entities":["actorType1", "actorType2"],
|
"entities":["actorType1", "actorType2"],
|
||||||
|
|
Loading…
Reference in New Issue