Permalink
Browse files

Fixed almost infinite cleanup timeouts which caused memory leaks.

  • Loading branch information...
1 parent d32206f commit 69926cac034e64b8a0d9002ab514b8ffd1fb152c Sergey Kirillov committed Jul 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
@@ -15,7 +15,7 @@ exports.put = function(key, value, time) {
if (!isNaN(expire)) {
setTimeout(function() {
exports.del(key);
- }, expire);
+ }, time);
}
}

1 comment on commit 69926ca

This has now been merged upstream. Thanks. Next time, please send a pull request.

Please sign in to comment.