visionmedia/connect-redis — pull request #45 by SlNPacifist (2012-06-14 07:39:12+00:00)
Title: Added ttl option.

Added ttl option, which comes prior to cookie maxAge. Now session ttl is (options.ttl, cookie.maxAge, oneDay) whichever defined first.

If options.ttl is not defined, previous behaviour is preserved.