advisory-lock icon indicating copy to clipboard operation
advisory-lock copied to clipboard

Detect "in process" collisions comment

Open aviranco opened this issue 6 years ago • 1 comments

Hi,

I've read the code and noticed the following comment: // TODO: detect "in process" collisions?

Can you explain if its relevant so I can create PR to fix it? what are these in-process collisions that can occur?

As far as I understand, when creating a hash there is "near-unique" number. If creating lock for the same string multiple times, multiple lock objects will be created, but they all going to function appropriately with their database interactions.

aviranco avatar Jul 16 '19 08:07 aviranco

Hi, just letting you know I moved the repo to https://github.com/binded/advisory-lock and fixing bugs.

olalonde avatar Feb 25 '23 19:02 olalonde