microlock
microlock copied to clipboard
Should examples use something other than hostname?
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.
Yeah probably. Feel free to update the README with a PR