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

feat: RQv2 memory storage support #1874

Merged
merged 6 commits into from
May 5, 2023
Merged

Conversation

barjin
Copy link
Contributor

@barjin barjin commented Apr 17, 2023

Adds support for RQv2 locking methods to MemoryStorage.

Related to #1365

@barjin barjin marked this pull request as ready for review April 24, 2023 11:55
@barjin
Copy link
Contributor Author

barjin commented Apr 24, 2023

Added tests and fixed some problems (race condition in listAndLockHead, wrong signature in deleteRequestLock) found during the test writing.

The fixes (although working) are a bit wild (impromptu mutex implementation), so a review before merging is required.

Also, not sure about the test placement (testing only memory storage now, but this is not stated anywhere), ideas welcome.

@vladfrangu vladfrangu merged commit 049486b into master May 5, 2023
@vladfrangu vladfrangu deleted the feat/mem-storage-rq-v2 branch May 5, 2023 13:58
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