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:
parent
cbbe1772bc
commit
7fa41b85b4
1 changed files with 1 additions and 5 deletions
|
|
@ -173,11 +173,7 @@ defmodule Aprsme.Application do
|
||||||
Logger.info("Starting Redis PubSub adapter with URL: #{redis_url}")
|
Logger.info("Starting Redis PubSub adapter with URL: #{redis_url}")
|
||||||
|
|
||||||
{Phoenix.PubSub,
|
{Phoenix.PubSub,
|
||||||
name: Aprsme.PubSub,
|
name: Aprsme.PubSub, adapter: Phoenix.PubSub.Redis, redis_pool_size: 10, node_name: node(), url: redis_url}
|
||||||
adapter: Phoenix.PubSub.Redis,
|
|
||||||
redis_pool_size: 10,
|
|
||||||
node_name: node(),
|
|
||||||
redis_options: [url: redis_url]}
|
|
||||||
else
|
else
|
||||||
require Logger
|
require Logger
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue