Skip to content

Commit

Permalink
[storage] increase redis's ttl
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Nov 15, 2011
1 parent f52a3eb commit 1d9c985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/deadbolt/storage/redis.js
Expand Up @@ -21,7 +21,7 @@ function Redis(options) {
this.options = options;

this.prefix = this.options.prefix || 'deadbolt';
this.ttl = this.options.ttl || 3;
this.ttl = this.options.ttl || 300;

this.client = redis.createClient(options.port, options.host);

Expand Down

0 comments on commit 1d9c985

Please sign in to comment.