Skip to content

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

Description

@ncri

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/')

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions