Add Redis getter

This commit is contained in:
Jake
2014-11-02 10:47:40 -06:00
parent 326e733d43
commit 5a4643f334
2 changed files with 6 additions and 2 deletions

View File

@@ -25,6 +25,10 @@ function connect_redis() {
var exp = {};
exp.get_redis = function() {
return redis;
};
// sets the timestamp for +uuid+ to now
exp.update_timestamp = function(uuid) {
console.log(uuid + " cache: updating timestamp");