Skip to content

Commit

Permalink
Increase child migration timeout.
Browse files Browse the repository at this point in the history
  • Loading branch information
alfetahe committed Apr 24, 2024
1 parent 46c5905 commit 022d28a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/process_hub/strategy/migration/hot_swap.ex
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ defmodule ProcessHub.Strategy.Migration.HotSwap do
- `:child_migration_timeout` - An integer value in milliseconds is used to specify the timeout for single
child process migration. If the child process migration does not complete within this time, the migration
for single child process will be considered failed but the migration for other child processes will continue.
The default value is `5000`.
The default value is `10000`.
"""
@type t() :: %__MODULE__{
retention: pos_integer(),
Expand All @@ -106,7 +106,7 @@ defmodule ProcessHub.Strategy.Migration.HotSwap do
defstruct retention: 5000,
handover: false,
handover_data_wait: 3000,
child_migration_timeout: 5000
child_migration_timeout: 10000

defimpl MigrationStrategy, for: ProcessHub.Strategy.Migration.HotSwap do
alias ProcessHub.Constant.StorageKey
Expand Down

0 comments on commit 022d28a

Please sign in to comment.