ca98am79 / connect-dynamodb

DynamoDB session store for Connect
http://ca98am79.github.com/connect-dynamodb/
MIT License
144 stars 66 forks source link

Sessions are not expiring within dynamodb #3

Closed b2mdevelopment closed 11 years ago

b2mdevelopment commented 11 years ago

Hi, We have noticed that the sessions table is not being cleared down by the reap function.

We think the problem is that the type of the "expires" field used in the reap scan filter is an "N", whereas the "expires" field is initially saved as an "S". This results in the "LT" scan not matching any rows.

Regards, @roylines and @jamesbloomer

ca98am79 commented 11 years ago

Thanks for your help - this should now be fixed

roylines commented 11 years ago

That's fantastic. Glad to help.