Packages

A customized HTTP client for Supabase. Mainly used in Supabase Potion.

Retired package: this package has no utility for the supabase_potion project anymore

Current section

Files

Jump to
supabase_fetcher lib supabase fetcher application.ex
Raw

lib/supabase/fetcher/application.ex

defmodule Supabase.Fetcher.Application do
@moduledoc "Simple Supervisor to manage a Finch pool"
use Application
@impl true
def start(_type, _args) do
children = [
{Finch, name: Supabase.Finch, pools: %{:default => [size: 10]}}
]
opts = [strategy: :one_for_one, name: Supabase.Fetch.Supervisor]
Supervisor.start_link(children, opts)
end
end