Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check isActive when Redis server down #7

Closed
oyajiro opened this issue Apr 23, 2015 · 2 comments
Closed

Check isActive when Redis server down #7

oyajiro opened this issue Apr 23, 2015 · 2 comments
Assignees
Labels
Milestone

Comments

@oyajiro
Copy link

oyajiro commented Apr 23, 2015

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)

@samdark
Copy link
Member

samdark commented Apr 23, 2015

#6

@samdark samdark added the type:bug Bug label Apr 23, 2015
@cebe cebe self-assigned this Apr 23, 2015
@cebe cebe added this to the 2.0.4 milestone Apr 23, 2015
@cebe cebe modified the milestones: 2.0.4, 2.0.5 May 13, 2015
@cebe cebe modified the milestones: 2.0.6, 2.0.5 Mar 17, 2016
@samdark samdark modified the milestones: 2.0.7, 2.0.6 Mar 28, 2017
@cebe
Copy link
Member

cebe commented Dec 10, 2017

fixed by #106

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants