We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd85288 commit 04176f4Copy full SHA for 04176f4
includes/object-cache.php
@@ -1148,7 +1148,7 @@ public function fetch_info() {
1148
? $this->redis->getClientBy( 'id', $connectionId )->info()
1149
: $this->redis->info( $connectionId );
1150
} else if ($this->is_predis() && $this->redis->getConnection() instanceof Predis\Connection\Replication\ReplicationInterface) {
1151
- $info = $this->redis->getClientBy( 'role' , 'master' )->info();
+ $info = $this->redis->getMaster()->info();
1152
} else {
1153
$info = $this->redis->info();
1154
}
0 commit comments