Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme - new args for the using() example #303

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mastazi
Copy link

@mastazi mastazi commented Aug 26, 2024

Going trough the Readme, it made me think that senderId and recipientId were something specific to the redlock paradigm that I needed to know, instead they are just generic identifiers for the names of the locks, since this is a generic example I think it's better to use something generic like "foo" or "bar".

This is also in line with the next part of the readme, the "acquire" example which uses the string "a" which is clearly a generic identifier

the readme as it was made me think that senderId and recipientId were something specific to the redlock algorithm that I needed to know, instead they are just generic identifiers, so in a generic example I think it's better to use something generic like "foo" or "a" etc.
Update README.md - new params for example of using()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant