gorilla/sessions

FilesystemStore : Is there a reaper?

SachinVarghese opened this issue · 2 comments

Is there a reaper for the FilesystemStore that deletes stale sessions at a regular interval?
An example would be boltstore reaper created here. Is this really necessary?

There is not a "reaper" process to clean up old sessions.

  • By default, FilesystemStore uses os.TempDir(), which is (only) cleaned up at mount (or boot) in most Linux distro
  • For custom paths, nothing happens.

I'd nearly always recommend Bolt or Redis over FilesystemStore in general - we should probably reference those stores more clearly.

stale commented

This issue has been automatically marked as stale because it hasn't seen a recent update. It'll be automatically closed in a few days.