Skip to content

Commit

Permalink
Change stop kind to shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
sleipnir committed Nov 29, 2022
1 parent 83a8869 commit 481150e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/actors/actor/entity/entity.ex
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ defmodule Actors.Actor.Entity do
] "
)

{:stop, :normal, state}
{:stop, :shutdown, state}
end

defp do_handle_info(
Expand Down
2 changes: 1 addition & 1 deletion lib/actors/actor/entity/lifecycle.ex
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ defmodule Actors.Actor.Entity.Lifecycle do
case Process.info(self(), :message_queue_len) do
{:message_queue_len, 0} ->
Logger.debug("Deactivating actor #{name} for timeout")
{:stop, :normal, state}
{:stop, :shutdown, state}

_ ->
schedule_deactivate(deactivation_strategy)
Expand Down

0 comments on commit 481150e

Please sign in to comment.