Skip to content

Commit

Permalink
redis cache
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed May 2, 2016
1 parent 36d4d31 commit 7672c38
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions lib/cache.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
'use strict'

const redis = require('then-redis')

const cache = redis.createClient()
cache.on('error', console.error)
module.exports = cache
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
"dependencies": {
"vbb-util": "^0.9",
"request-promise": "^2.0.1",
"vbb-parse-line": "^0.1.1"
"vbb-parse-line": "^0.1.1",
"co": "^4.6",
"shorthash": "^0.0.2",
"then-redis": "^2"
},
"devDependencies": {
"is-roughly-equal": "^0.1",
Expand Down

0 comments on commit 7672c38

Please sign in to comment.