Try to always restart in case of crashes
This commit is contained in:
parent
6f3c8500a8
commit
623c570732
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ defmodule ExSpeedGame.Application do
|
|||
def start(_type, _args) do
|
||||
# See https://hexdocs.pm/elixir/Supervisor.html
|
||||
# for other strategies and supported options
|
||||
opts = [strategy: :one_for_one, name: ExSpeedGame.Supervisor]
|
||||
opts = [strategy: :one_for_one, max_restarts: 1_000_000, name: ExSpeedGame.Supervisor]
|
||||
|
||||
children =
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue