Skip to content

Conversation

@robsdedude
Copy link
Member

@robsdedude robsdedude commented Jul 7, 2023

This PR addresses point 2 ("Missing error handling in _acquire_non_blocking") raised in #937.

It's not clear if or when asyncio.Lock.acquire() would raise an exception. But should it, our wrapping AsyncRLock should not silently swallow it and worse pretend the lock was successfully acquired.

Copy link
Contributor

@bigmontz bigmontz left a comment

Choose a reason for hiding this comment

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

🔒

@robsdedude robsdedude merged commit 141d5a0 into neo4j:5.0 Jul 10, 2023
@robsdedude robsdedude deleted the harden-non-blocking-asyncrlock-acquire branch July 10, 2023 14:28
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.

2 participants