We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eda3995 commit 0672703Copy full SHA for 0672703
tests/RedisClusterTest.php
@@ -73,7 +73,7 @@ public function testSession_lockWaitTime() { return $this->markTestSkipped(); }
73
public function __construct($str_host, $i_port, $str_auth) {
74
parent::__construct($str_host, $i_port, $str_auth);
75
76
- self::$_arr_node_map = preg_split('/\s+/', getenv('REDIS_CLUSTER_NODES'));
+ self::$_arr_node_map = array_filter(explode(' ', getenv('REDIS_CLUSTER_NODES')));
77
/* Store our node map */
78
if (!self::$_arr_node_map) {
79
$str_nodemap_file = dirname($_SERVER['PHP_SELF']) . '/nodes/nodemap';
0 commit comments