microlock icon indicating copy to clipboard operation
microlock copied to clipboard

Should examples use something other than hostname?

Open djMax opened this issue 8 years ago • 1 comments

If I understand correctly, using hostname() as the lock id would mean that multiple execution paths on the same host could both own the lock. This is bad (typically) right? It should be somehow operation-specific, like a guid or something.

djMax avatar Jun 17 '17 14:06 djMax

Yeah probably. Feel free to update the README with a PR

thebigredgeek avatar Sep 13 '17 19:09 thebigredgeek