mirror of https://github.com/dapr/docs.git
Adds reference to TTL in mongodb state reference
Signed-off-by: joshvanl <me@joshvanl.dev>
This commit is contained in:
parent
f7cddfb559
commit
53693c73bd
|
@ -112,6 +112,10 @@ The username is `admin` by default.
|
|||
|
||||
{{< /tabs >}}
|
||||
|
||||
### TTLs and cleanups
|
||||
|
||||
This state store supports [Time-To-Live (TTL)]({{< ref state-store-ttl.md >}}) for records stored with Dapr. When storing data using Dapr, you can set the `ttlInSeconds` metadata property to indicate when the data should be considered "expired".
|
||||
|
||||
## Related links
|
||||
- [Basic schema for a Dapr component]({{< ref component-schema >}})
|
||||
- Read [this guide]({{< ref "howto-get-save-state.md#step-2-save-and-retrieve-a-single-state" >}}) for instructions on configuring state store components
|
||||
|
|
Loading…
Reference in New Issue