[imp] SQL VFS for attachments

Michael M Slusarz slusarz at bigworm.colorado.edu
Thu Feb 20 22:50:55 PST 2003


Quoting Chuck Hagenbuch <chuck at horde.org>:

| Quoting Liam Hoekenga <liamr at umich.edu>:
| 
| > Just curious... when using a SQL based VFS backend for attachment
| > storage, is there any sort of garbage collection to sweep table for
| > orphaned files? (eg someone attaches a file to a message, and then
| never
| > sends that message - like they quit their browser or it crashes, etc)
| 
| No, not in the current code.

I've added a gc() method to VFS:: and have implemented the backend for the 
sql driver.  It will run a query 1% of the time, and will delete all files 
older than 1 day.

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the imp mailing list