Matt Ranney
13 years ago
2 changed files with 2 additions and 19 deletions
@ -1,17 +0,0 @@ |
|||||
var redis = require("./index"), |
|
||||
client = redis.createClient(); |
|
||||
|
|
||||
// This currently doesn't work, due to what I beleive to be a bug in redis 2.0.1.
|
|
||||
// INFO and QUIT are pipelined together, and the socket closes before the INFO
|
|
||||
// command gets a reply.
|
|
||||
|
|
||||
redis.debug_mode = true; |
|
||||
client.info(redis.print); |
|
||||
client.quit(); |
|
||||
|
|
||||
// A workaround is:
|
|
||||
// client.info(function (err, res) {
|
|
||||
// console.log(res.toString());
|
|
||||
// client.quit();
|
|
||||
// });
|
|
||||
|
|
Loading…
Reference in new issue