Fix Redis PubSub URL configuration

The phoenix_pubsub_redis adapter expects the url option at the top level,
not nested under redis_options.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Graham McIntire 2025-07-26 10:22:15 -05:00
parent cbbe1772bc
commit 7fa41b85b4
No known key found for this signature in database

View file

@ -173,11 +173,7 @@ defmodule Aprsme.Application do
Logger.info("Starting Redis PubSub adapter with URL: #{redis_url}")
{Phoenix.PubSub,
name: Aprsme.PubSub,
adapter: Phoenix.PubSub.Redis,
redis_pool_size: 10,
node_name: node(),
redis_options: [url: redis_url]}
name: Aprsme.PubSub, adapter: Phoenix.PubSub.Redis, redis_pool_size: 10, node_name: node(), url: redis_url}
else
require Logger