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

Ticket lock #3877

Closed
wants to merge 8 commits into from
Closed

Ticket lock #3877

wants to merge 8 commits into from

Conversation

ricwo
Copy link
Contributor

@ricwo ricwo commented Jun 26, 2019

Proposed changes:

  • ...

Status (please check what you already did):

  • made PR ready for code review
  • added some tests for the functionality
  • updated the documentation
  • updated the changelog
  • reformat files using black (please check Readme for instructions)

lock_timeout: float = 0.5,
retry_count: int = 20,
) -> None:
from aioredlock import Aioredlock
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need the distributed lock as we expect only one redis instance, at least for now. because of that I'd rather use the redis library we are already using and try to get a prototype of the ticket lock running instead of a distributed lock.

@ricwo ricwo changed the title Distributed locks Ticket lock Jun 27, 2019
@ricwo ricwo closed this Jul 4, 2019
@tmbo tmbo deleted the redlock branch September 4, 2019 22:59
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.

None yet

2 participants