node-proper-lockfile icon indicating copy to clipboard operation
node-proper-lockfile copied to clipboard

Locks taking longer than I expect

Open dsellarsnr opened this issue 11 months ago • 0 comments

Hello! I am trying out this library and I just wanted to check if I am using the library correctly and if this is expected. In the repo below I have a bash script that launches 4 concurrent processes to test out the locking and it is taking up to 7 seconds to acquire the lock even though the file locks are only held for 2-3 milliseconds.

https://github.com/dsellarsnr/lock-problem

dsellarsnr avatar Mar 06 '24 19:03 dsellarsnr