Closed tstarck closed 9 years ago
No. There can be multiple processes spun up and if a new process always clears lock files, mayhem ensues.
There should be a garbage collection mechanism for this, just as there should be one for the unused directories in the file storages.
In fs.js there is a comment:
Should old lock files be cleared when adapter is first initialized?