Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Insert missing ttl argument to string interpolation. #73

Closed
wants to merge 1 commit into from

1 participant

@coderunr

No description provided.

@coderunr

jerem created an identical patch that is now merged in
e4b0558

@coderunr coderunr closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 5, 2013
  1. @coderunr
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/connect-redis.js
View
3  lib/connect-redis.js
@@ -1,4 +1,3 @@
-
/*!
* Connect - Redis
* Copyright(c) 2012 TJ Holowaychuk <tj@vision-media.ca>
@@ -124,7 +123,7 @@ module.exports = function(connect){
? maxAge / 1000 | 0
: oneDay);
- debug('SETEX "%s" ttl:%s %s', sid, sess);
+ debug('SETEX "%s" ttl:%s %s', sid, ttl, sess);
this.client.setex(sid, ttl, sess, function(err){
err || debug('SETEX complete');
fn && fn.apply(this, arguments);
Something went wrong with that request. Please try again.