Skip to content

Instantly share code, notes, and snippets.

View gottfrois's full-sized avatar

Pierre-Louis Gottfrois gottfrois

View GitHub Profile
defmodule Rabbit.ConnectionPool do
use Supervisor
def start_link do
Supervisor.start_link(__MODULE__, [])
end
def init(_) do
pool_options = [
{:name, {:local, :rabbit_connection_pool}},