Skip to content

Pass options to predis client when using redis transport #367

@fvaresi

Description

@fvaresi

It would be nice to be able to pass client options to predis transport.

Example:

<?php
use Enqueue\Redis\RedisConnectionFactory;

$connectionFactory = new RedisConnectionFactory([
    'host' => 'localhost',
    'port' => 6379,
    'vendor' => 'predis',
    ...
    'options' => ['cluster' => 'predis', ...],
]);

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