diff --git a/lib/event_store/config.ex b/lib/event_store/config.ex index 418323fa..92ebaacf 100644 --- a/lib/event_store/config.ex +++ b/lib/event_store/config.ex @@ -151,6 +151,7 @@ defmodule EventStore.Config do # connections (advisory locks and notifications). Uses the default Postgres # configuration if not specified. defp session_mode_pool_config(config) do - Keyword.get(config, :session_mode_pool, config) + config + |> Keyword.merge(Keyword.get(config, :session_mode_pool, [])) end end