@ -1,3 +1,6 @@
- 0.1.2.1 2013-10-31
Fixing unreleased connection in redis example.
- 0.1.2 2013-10-13
Wrapping synchronous memory cache callbacks in process.nextTick() for the purists.
@ -39,7 +39,8 @@ function redis_store(args) {
if (err) { return cb(err); }
conn.get(key, function (err, result) {
if (err) { pool.release(conn); return cb(err); }
pool.release(conn);
cb(null, JSON.parse(result));
});
@ -1,6 +1,6 @@
{
"name": "cache-manager",
"version": "0.1.2",
"version": "0.1.2.1",
"description": "Cache module for Node.js",
"main": "index.js",
"scripts": {
@ -12,6 +12,7 @@
},
"keywords": [
"cache",
"redis",
"lru-cache",
"memory cache",
"multiple cache"