tox-dev / filelock

A platform-independent file lock for Python.
https://py-filelock.readthedocs.io
The Unlicense
747 stars 107 forks source link

Suggestion on documentation improvement over SoftFileLock #316

Open youkaichao opened 5 months ago

youkaichao commented 5 months ago

The biggest problem of SoftFileLock is that the lock file cannot be deleted when the program crash.

We can add suggestions in the documentation that soft lock files can be placed at /tmp or equivalent temporary directory, so that it can be automatically cleaned to reduce the risk of deadlock.

What do you think? @gaborbernat