We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “No 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? No Sign in to your account
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', ...], ]);
The text was updated successfully, but these errors were encountered:
issue php-enqueue#367 - pass options to predis client
ed87587
This will be possible once #372 is merged. Like this:
<?php use Enqueue\Redis\RedisConnectionFactory; use Enqueue\Redis\PRedis; $config = [ 'host' => 'localhost', 'port' => 6379, 'vendor' => 'predis', ]; $options = ['cluster' => 'predis']; $redis = new PRedis(new \PRedis\Client($config, $options)); $connectionFactory = new RedisConnectionFactory([ 'redis' => $redis, 'vendor' => 'custom', ]);
Sorry, something went wrong.
No branches or pull requests
It would be nice to be able to pass client options to predis transport.
Example:
The text was updated successfully, but these errors were encountered: