Skip to content

Loading…

session store garbage collection #668

Closed
evanp opened this Issue · 1 comment

3 participants

@evanp

I'm trying to implement session storage using the databank library (https://github.com/evanp/databank), and as far as I can tell old sessions are only cleaned up if there's a get() request for an expired session.

A periodic process to GC sessions would help keep storage requirements reasonable.

@tj
Sencha Labs member
tj commented

the GC portion is completely adhoc, redis happens to expire for you, others might require some manual queries etc. Do whatever you need to do and provide an option via the store's constructor, or you can check on GET as an alternative

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.