Skip to content

Check isActive when Redis server down #7

@oyajiro

Description

@oyajiro

If i use Yii::$app->redis->open(); when redis server down. I want to switch to alternative DB. So i use Yii::$app->redis->open(); in try catch structure. After it, if i check on Yii::$app->redis->isActive it's true, even if redis not working(or not installed)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions