From 11730336ead6ba9de5d89c952eeb53ae6e99233e Mon Sep 17 00:00:00 2001 From: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> Date: Wed, 31 Jan 2024 18:07:53 -0500 Subject: [PATCH 1/6] Fix incorrect statement regarding actor timers (#3977) * update incorrect sentence Signed-off-by: Hannah Hunter * mark edit Signed-off-by: Hannah Hunter --------- Signed-off-by: Hannah Hunter Co-authored-by: Mark Fussell --- .../building-blocks/actors/actors-features-concepts.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/daprdocs/content/en/developing-applications/building-blocks/actors/actors-features-concepts.md b/daprdocs/content/en/developing-applications/building-blocks/actors/actors-features-concepts.md index a9e82c287b2..e486b3243ec 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/actors/actors-features-concepts.md +++ b/daprdocs/content/en/developing-applications/building-blocks/actors/actors-features-concepts.md @@ -14,7 +14,9 @@ Now that you've learned about the [actor building block]({{< ref "actors-overvie Dapr actors are virtual, meaning that their lifetime is not tied to their in-memory representation. As a result, they do not need to be explicitly created or destroyed. The Dapr actor runtime automatically activates an actor the first time it receives a request for that actor ID. If an actor is not used for a period of time, the Dapr actor runtime garbage-collects the in-memory object. It will also maintain knowledge of the actor's existence should it need to be reactivated later. -Invocation of actor methods and reminders reset the idle time, e.g. reminder firing will keep the actor active. Actor reminders fire whether an actor is active or inactive, if fired for inactive actor, it will activate the actor first. Actor timers do not reset the idle time, so timer firing will not keep the actor active. Timers only fire while the actor is active. +Invocation of actor methods, timers, and reminders reset the actor idle time. For example, a reminder firing keeps the actor active. +- Actor reminders fire whether an actor is active or inactive. If fired for an inactive actor, it activates the actor first. +- Actor timers firing reset the idle time; however, timers only fire while the actor is active. The idle timeout and scan interval Dapr runtime uses to see if an actor can be garbage-collected is configurable. This information can be passed when Dapr runtime calls into the actor service to get supported actor types. From fc488832c4534bfe00936d95e8a95a1dd47dcd3c Mon Sep 17 00:00:00 2001 From: Prashant Rewar <108176843+prashantrewar@users.noreply.github.com> Date: Sat, 27 Jan 2024 19:09:59 +0530 Subject: [PATCH 2/6] Add instructions to open the .dapr folder in the user profile on Windows Signed-off-by: Prashant Rewar <108176843+prashantrewar@users.noreply.github.com> --- .../content/en/getting-started/install-dapr-selfhost.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/daprdocs/content/en/getting-started/install-dapr-selfhost.md b/daprdocs/content/en/getting-started/install-dapr-selfhost.md index 55168bb1898..4af3c0f86b8 100644 --- a/daprdocs/content/en/getting-started/install-dapr-selfhost.md +++ b/daprdocs/content/en/getting-started/install-dapr-selfhost.md @@ -135,9 +135,13 @@ ls $HOME/.dapr {{% /codetab %}} {{% codetab %}} - +Powershell ```powershell -explorer "%USERPROFILE%\.dapr\" +explorer "$env:USERPROFILE.dapr" +``` +command line +```cmd +explorer "%USERPROFILE%.dapr" ``` **Result:** From e9a7a6f995cdf8fe15c54deeb8036d5c51ec7a93 Mon Sep 17 00:00:00 2001 From: Prashant Rewar <108176843+prashantrewar@users.noreply.github.com> Date: Wed, 31 Jan 2024 22:25:09 +0530 Subject: [PATCH 3/6] Update daprdocs/content/en/getting-started/install-dapr-selfhost.md Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> Signed-off-by: Prashant Rewar <108176843+prashantrewar@users.noreply.github.com> --- daprdocs/content/en/getting-started/install-dapr-selfhost.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/getting-started/install-dapr-selfhost.md b/daprdocs/content/en/getting-started/install-dapr-selfhost.md index 4af3c0f86b8..3550eda7d21 100644 --- a/daprdocs/content/en/getting-started/install-dapr-selfhost.md +++ b/daprdocs/content/en/getting-started/install-dapr-selfhost.md @@ -135,7 +135,7 @@ ls $HOME/.dapr {{% /codetab %}} {{% codetab %}} -Powershell +You can verify using either PowerShell or command line. If using PowerShell, run: ```powershell explorer "$env:USERPROFILE.dapr" ``` From 96cad2bbb354131b860d916696979d9229fcb81d Mon Sep 17 00:00:00 2001 From: Prashant Rewar <108176843+prashantrewar@users.noreply.github.com> Date: Wed, 31 Jan 2024 22:26:03 +0530 Subject: [PATCH 4/6] Update daprdocs/content/en/getting-started/install-dapr-selfhost.md Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> Signed-off-by: Prashant Rewar <108176843+prashantrewar@users.noreply.github.com> --- daprdocs/content/en/getting-started/install-dapr-selfhost.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daprdocs/content/en/getting-started/install-dapr-selfhost.md b/daprdocs/content/en/getting-started/install-dapr-selfhost.md index 3550eda7d21..f08b111357b 100644 --- a/daprdocs/content/en/getting-started/install-dapr-selfhost.md +++ b/daprdocs/content/en/getting-started/install-dapr-selfhost.md @@ -139,7 +139,8 @@ You can verify using either PowerShell or command line. If using PowerShell, run ```powershell explorer "$env:USERPROFILE.dapr" ``` -command line + +If using command line, run: ```cmd explorer "%USERPROFILE%.dapr" ``` From d88ccb610baeae6893c62f2b53aa8b2df44b7bf7 Mon Sep 17 00:00:00 2001 From: Mark Fussell Date: Wed, 31 Jan 2024 14:54:43 -0800 Subject: [PATCH 5/6] Update daprdocs/content/en/getting-started/install-dapr-selfhost.md Co-authored-by: Marc Duiker Signed-off-by: Mark Fussell --- daprdocs/content/en/getting-started/install-dapr-selfhost.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/getting-started/install-dapr-selfhost.md b/daprdocs/content/en/getting-started/install-dapr-selfhost.md index f08b111357b..174bf6ded12 100644 --- a/daprdocs/content/en/getting-started/install-dapr-selfhost.md +++ b/daprdocs/content/en/getting-started/install-dapr-selfhost.md @@ -137,7 +137,7 @@ ls $HOME/.dapr {{% codetab %}} You can verify using either PowerShell or command line. If using PowerShell, run: ```powershell -explorer "$env:USERPROFILE.dapr" +explorer "$env:USERPROFILE\.dapr" ``` If using command line, run: From 9a35e69eb026bdc155bdb10581f59925c0623c07 Mon Sep 17 00:00:00 2001 From: Mark Fussell Date: Wed, 31 Jan 2024 14:54:48 -0800 Subject: [PATCH 6/6] Update daprdocs/content/en/getting-started/install-dapr-selfhost.md Co-authored-by: Marc Duiker Signed-off-by: Mark Fussell --- daprdocs/content/en/getting-started/install-dapr-selfhost.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/getting-started/install-dapr-selfhost.md b/daprdocs/content/en/getting-started/install-dapr-selfhost.md index 174bf6ded12..6c27f4d5840 100644 --- a/daprdocs/content/en/getting-started/install-dapr-selfhost.md +++ b/daprdocs/content/en/getting-started/install-dapr-selfhost.md @@ -142,7 +142,7 @@ explorer "$env:USERPROFILE\.dapr" If using command line, run: ```cmd -explorer "%USERPROFILE%.dapr" +explorer "%USERPROFILE%\.dapr" ``` **Result:**