Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring redis backend as described in readme ignores url parameter #333

Open
ncri opened this issue May 23, 2023 · 0 comments
Open

Configuring redis backend as described in readme ignores url parameter #333

ncri opened this issue May 23, 2023 · 0 comments

Comments

@ncri
Copy link

ncri commented May 23, 2023

I tried configuring the redis backend as described in the readme:

MessageBus.configure(
    backend: :redis,
    url: 'redis://localhost:6479/'
)

However, this does not work, it ignores the port I set and uses 6379 (probably a default).

The only way I got it working after digging through the source code was by doing this:

MessageBus.backend_instance = MessageBus::Backends::Redis.new(url: 'redis://localhost:6479/')
@ncri ncri changed the title Configuring redis backend as described in readme ignores parameter Configuring redis backend as described in readme ignores url parameter May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant