Re: [photon.users] Session and garbage collector
- 2012-06-21 @ 12:45
This is simply awesome :) No more need to have a custom job to collect the
garbage data !
On Thu, Jun 21, 2012 at 2:00 PM, William MARTIN <email@example.com> wrote:
> Hi everyone,
> For people using MongoDB to store user sessions,
> The new version of MongoDB (i.e. 2.2) allow to create a
> special index named TTL (Time to Live), document with a
> TTL of 0 will be remove by a internal cron job of Mongo.
> So, I think it's a good way to go to wipe old sessions.