-
-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Labels
Description
Hi and thank you so much for creating this awesome library 😃
For my application it's crucial that the lock is eventually released even if the process crashes, so I have some questions that I didn't find answered in the docs:
- How does
filelockmake sure that the lock file is removed even if the app crashes? Is that mechanism reliable or can it fail? - Is there a way to detect "orphan" lock files? Let's say I try to acquire a lock, but the lock already exists. Is there a way to know for how long the lock exists already and break it, let's say if it's older than 1 minute?
Maybe this information would be useful in the docs as well.
I really appreciate your help 🙇