Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Improve coordinated shutdown doc hygiene #5677

Merged
merged 2 commits into from
Feb 22, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/articles/actors/coordinated-shutdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ There's an `ActorSystem` extension called `CoordinatedShutdown` that will stop c

The default phases and their orderings are defined in the default HOCON configuration as `akka.coordinated-shutdown.phases`, and they are defined below:

[!code[Pigeon](../../../src/core/Akka/Configuration/Pigeon.conf?name=coordinated-shutdown-phases)]
[!code-hocon[Pigeon.conf](../../../src/core/Akka/Configuration/Pigeon.conf#L1019-L1091)]
Aaronontheweb marked this conversation as resolved.
Show resolved Hide resolved

## Custom Phases

Expand Down
4 changes: 2 additions & 2 deletions src/core/Akka/Configuration/Pigeon.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ akka {
# - recover=off: If the phase fails the shutdown is aborted
# and depending phases will not be executed.
# depends-on=[]: Run the phase after the given phases
# <coordinated-shutdown-phases>

phases {

# The first pre-defined phase that applications can add tasks to.
Expand Down Expand Up @@ -1088,6 +1088,6 @@ akka {
depends-on = [before-actor-system-terminate]
}
}
# </coordinated-shutdown-phases>

}
}