Skip to content

Commit

Permalink
Update lib/phoenix/tracker.ex
Browse files Browse the repository at this point in the history
Co-authored-by: José Valim <[email protected]>
  • Loading branch information
nathanl and josevalim authored Sep 27, 2024
1 parent 218b793 commit 6df3b69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/phoenix/tracker.ex
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,9 @@ defmodule Phoenix.Tracker do
(30s down detection). Note: This must be at least 2x the `broadcast_period`.
* `permdown_on_shutdown` - boolean; whether to immediately call
`graceful_permdown/1` on the tracker during a graceful shutdown. See
'Application Shutdown' section. Default `false`.
'Application Shutdown' section. You can only safely set this point if `Phoenix.Tracker`
is mounted at the root of your supervision tree and the strategy is `:one_for_one`.
Default `false`.
* `:permdown_period` - The interval in milliseconds to flag a replica
as permanently down, and discard its state.
Note: This must be at least greater than the `down_period`.
Expand Down

0 comments on commit 6df3b69

Please sign in to comment.