Skip to content

Commit

Permalink
fixed typo in console log output
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Whitley committed Nov 18, 2016
1 parent 5bd9d22 commit 7596cba
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/apicache.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ function ApiCache() {
if (cached) {
// console log
var elapsed = new Date() - req.apicacheTimer
debug('sending cached (redis) version of', key, logDuration(elapsed))
debug('sending cached (memory-cache) version of', key, logDuration(elapsed))

return sendCachedResponse(res, cached)
}
Expand All @@ -276,8 +276,6 @@ function ApiCache() {
if (redis) {
redis.hgetall(key, function (err, obj) {
if (!err && obj) {
debug('sending cached (redis) version of', key)

// console log
var elapsed = new Date() - req.apicacheTimer
debug('sending cached (redis) version of', key, logDuration(elapsed))
Expand Down

0 comments on commit 7596cba

Please sign in to comment.