You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Fix bug in ready check with return_buffers
set to true
.
Thanks to Dean Mao and Austin Chau.
This commit is contained in:
@@ -1,6 +1,12 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
## v0.5.6 - February 22, 2011
|
||||||
|
|
||||||
|
Fix bug in ready check with `return_buffers` set to `true`.
|
||||||
|
|
||||||
|
Thanks to Dean Mao and Austin Chau.
|
||||||
|
|
||||||
## v0.5.5 - February 16, 2011
|
## v0.5.5 - February 16, 2011
|
||||||
|
|
||||||
Add probe for server readiness.
|
Add probe for server readiness.
|
||||||
|
2
index.js
2
index.js
@@ -179,7 +179,7 @@ RedisClient.prototype.ready_check = function () {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var lines = res.split("\r\n"), obj = {}, retry_time;
|
var lines = res.toString().split("\r\n"), obj = {}, retry_time;
|
||||||
|
|
||||||
lines.forEach(function (line) {
|
lines.forEach(function (line) {
|
||||||
var parts = line.split(':');
|
var parts = line.split(':');
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
{ "name" : "redis",
|
{ "name" : "redis",
|
||||||
"version" : "0.5.5",
|
"version" : "0.5.6",
|
||||||
"description" : "Redis client library",
|
"description" : "Redis client library",
|
||||||
"author": "Matt Ranney <mjr@ranney.com>",
|
"author": "Matt Ranney <mjr@ranney.com>",
|
||||||
"contributors": [
|
"contributors": [
|
||||||
|
Reference in New Issue
Block a user