Open dev-aman-gupta opened 7 years ago
There is a Warning: Warning: The TTL index does not guarantee that expired data will be deleted immediately. There may be a delay between the time a document expires and the time that MongoDB removes the document from the database.
That's why I've introduced this: https://github.com/adrai/sessionstore/blob/master/lib/databases/mongodb.js#L213
Hi,
I found a strange issue where the sessions are not timed out after the specified time.
sessions are created correctly but are not timed out or deleted according to the given timeout. Can you please help here/