modernizing

This commit is contained in:
Gavin McDonald
2025-05-22 18:13:59 -04:00
parent 3a4d71f47c
commit d791876742
4 changed files with 6 additions and 38 deletions

View File

@@ -2,15 +2,13 @@ defmodule ExMine.Application do
use Application
def start(_type, _args) do
import Supervisor.Spec
children = [
worker(ExMine.Server, [])
{ExMine.Server, []}
]
options = [
name: ExMine.Supervisor,
strategy: :simple_one_for_one,
strategy: :simple_one_for_one
]
Supervisor.start_link(children, options)