How to add a child process in my application.ex?

Hi , You have to give startlink/1 something like that,

def start_link(args) do
    GenServer.start_link(__MODULE__, args)
  end

inside children you have to pass, empty value

{Gorm.RedisPool, []}
1 Like