Skip to content

Commit 9b72210

Browse files
authored
Merge pull request #143 from riekelt/master
Fix setting a Redis instance via config
2 parents cb6f4f5 + b7cc17e commit 9b72210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaunchDarkly/Impl/Integrations/PHPRedisFeatureRequester.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function __construct($baseUri, $sdkKey, $options)
1919
$this->_prefix = isset($options['redis_prefix']) ? $options['redis_prefix'] : 'launchdarkly';
2020

2121
if (isset($this->_options['phpredis_client']) && $this->_options['phpredis_client'] instanceof Redis) {
22-
$this->_connection = $this->_options['phpredis_client'];
22+
$this->_redisInstance = $this->_options['phpredis_client'];
2323
} else {
2424
$this->_redisOptions = array(
2525
"timeout" => isset($options['redis_timeout']) ? $options['redis_timeout'] : 5,

0 commit comments

Comments
 (0)