tres/message_handler: Fix to use DynamicSupervisor instead of :simple_one_for_one
This commit is contained in:
parent
6bba512271
commit
a316bf2416
6 changed files with 10 additions and 11 deletions
|
|
@ -10,7 +10,7 @@ defmodule Tres.ExampleHandler do
|
|||
conn_ref: nil
|
||||
end
|
||||
|
||||
def start_link(datapath, args) do
|
||||
def start_link([datapath, args]) do
|
||||
GenServer.start_link(__MODULE__, [datapath, args])
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue