Skip to content

Commit 4c3ea39

Browse files
committed
Merge branch 'master' into develop
2 parents 1e9e183 + 8f18c67 commit 4c3ea39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/redis_example/example.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Setup:
22
// npm install redis
33
// npm install sol-redis-pool
4+
// node examples/redis_example/example.js
45

56
var cache_manager = require('../../');
67
var redis_store = require('./redis_store');
@@ -36,12 +37,11 @@ redis_cache.wrap(key, function (cb) {
3637
get_user(user_id, cb);
3738
}, function (err, user) {
3839
console.log(user);
40+
process.exit();
3941
});
4042
});
4143

4244
// Outputs:
4345
// Returning user from slow database.
4446
// { id: 123, name: 'Bob' }
4547
// { id: 123, name: 'Bob' }
46-
47-
process.exit();

0 commit comments

Comments
 (0)