connect-memjs
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -1,2 +0,1 @@ | ||
/*! | ||
@@ -26,2 +25,3 @@ * connect-memcached | ||
var oneDay = 86400; | ||
var thirtyDays = 2592000; | ||
@@ -137,2 +137,7 @@ | ||
var ttl = 'number' == typeof maxAge ? maxAge / 1000 | 0 : oneDay | ||
// If the ttl is longer than memcached's limit of 30 days, | ||
// do not set a ttl. | ||
if (ttl >= thirtyDays) { | ||
ttl = 0; | ||
} | ||
var sess = JSON.stringify(sess); | ||
@@ -139,0 +144,0 @@ |
{ | ||
"name": "connect-memjs" | ||
, "version": "0.0.4" | ||
, "version": "0.0.5" | ||
, "description": "Memcached session store for Connect backed by memjs" | ||
@@ -5,0 +5,0 @@ , "keywords": ["memcached", "connection", "session", "store", "cache"] |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17791
486