Skip to content

Conversation

iamkhav
Copy link
Contributor

@iamkhav iamkhav commented Apr 27, 2024

Hey all, I'm Amon and this is my first PR here. Let me know if something's missing or not up to standards :)

PR Summary

  • Add blocking parameter on lock constructor. Similar in effect to blocking on BaseFileLock.acquire
  • Add tests for a couple of different non-blocking lock cases. This also covers timeout=0 which was the previous way to have a non-blocking lock when using context manager syntax.

I added some docs so this should close #64.

@iamkhav
Copy link
Contributor Author

iamkhav commented Apr 27, 2024

Hey @gaborbernat, thanks for the swift approval! I don't have rights to squash and merge this PR. Feel free to do so whenever it fits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants