-
-
Notifications
You must be signed in to change notification settings - Fork 185
Closed
Labels
type:bugBugBug
Milestone
Description
What steps will reproduce the problem?
public function getIsActive()
{
return ArrayHelper::getValue($this->_pool, "$this->hostname:$this->port") !== false;
}if before open, invoke getIsActive() return true
if extend connection,require invoke getIsActive to check connection
What's expected?
false
What do you get instead?
true
Additional info
- ArrayHelper::getValue($this->_pool, "$this->hostname:$this->port") is null
- null !== false
- return true
| Q | A |
|---|---|
| Yii vesion | yii-redis 2.0.11 |
| PHP version | |
| Operating system |
Metadata
Metadata
Assignees
Labels
type:bugBugBug