Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0672703

Browse files
committed
Fix cluster nodes from ENV
1 parenteda3995 commit0672703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎tests/RedisClusterTest.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function testSession_lockWaitTime() { return $this->markTestSkipped(); }
7373
publicfunction__construct($str_host,$i_port,$str_auth) {
7474
parent::__construct($str_host,$i_port,$str_auth);
7575

76-
self::$_arr_node_map =preg_split('/\s+/',getenv('REDIS_CLUSTER_NODES'));
76+
self::$_arr_node_map =array_filter(explode('',getenv('REDIS_CLUSTER_NODES')));
7777
/* Store our node map */
7878
if (!self::$_arr_node_map) {
7979
$str_nodemap_file =dirname($_SERVER['PHP_SELF']) .'/nodes/nodemap';

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp