Skip to content

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

@ncri

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions