From 712aa63b0439efe5e332ece413928977d0b0cfd4 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 18 Jan 2026 12:10:31 -0600 Subject: [PATCH] fix: merge Redis config directly into PubSub opts instead of nesting under redis_config key --- lib/towerops/application.ex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/towerops/application.ex b/lib/towerops/application.ex index aa25fd82..77f6acdb 100644 --- a/lib/towerops/application.ex +++ b/lib/towerops/application.ex @@ -102,7 +102,9 @@ defmodule Towerops.Application do node_name != :nonode@nohost if use_redis? do - {Phoenix.PubSub, name: Towerops.PubSub, adapter: Phoenix.PubSub.Redis, redis_config: redis_pubsub_config()} + base_config = [name: Towerops.PubSub, adapter: Phoenix.PubSub.Redis] + redis_opts = redis_pubsub_config() + {Phoenix.PubSub, Keyword.merge(base_config, redis_opts)} else # Default PG2 adapter for Mix tasks and development {Phoenix.PubSub, name: Towerops.PubSub}