usnistgov / SpectrumBrowser

ITL
12 stars 11 forks source link

Garbage collect sessions on file system. #224

Open ranganathanm opened 8 years ago

ranganathanm commented 8 years ago

Generated plots are placed in the generated directory and are indexed by session ID (each session ID has its own directory). We need to store metadata in the directory or in mongodb indicating when the session was last accessed. If idle for 48 hours, the directory should be deleted (48 hours to allow user to retrieve any zip files.)

ranganathanm commented 8 years ago

commit 10806d4ec10efef465b52effeae6d2d919a9c8c0

ranganathanm commented 8 years ago

Please test and close.