node-proper-lockfile
node-proper-lockfile copied to clipboard
Locks taking longer than I expect
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