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(api): distributed lock service should reuse in memory provider svc #3123

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

p-fernandez
Copy link
Contributor

What change does this PR introduce?

Makes the distributed lock service to reuse the in-memory provider service.

Why was this change needed?

We plan to implement Redis cluster as in-memory provider service for the Cache service and the Distributed Lock service. So far we had both connections to the in-memory provider (ioredis) separatedly even if using the same instance.

Other information (Screenshots)

@linear
Copy link

linear bot commented Mar 31, 2023

@Cliftonz
Copy link
Contributor

Cliftonz commented Apr 3, 2023

LGTM

@p-fernandez p-fernandez force-pushed the nv-1951-in-memory-provider-service branch 2 times, most recently from a0af746 to ee93597 Compare April 3, 2023 16:58
@p-fernandez p-fernandez force-pushed the nv-1957-distributed-lock-should-reuse-in-memory branch from 754cbbd to 3e50ad5 Compare April 3, 2023 17:12
@p-fernandez p-fernandez force-pushed the nv-1951-in-memory-provider-service branch 4 times, most recently from 4a833b5 to ce9ac1f Compare April 3, 2023 17:38
Base automatically changed from nv-1951-in-memory-provider-service to next April 3, 2023 17:49
@p-fernandez p-fernandez force-pushed the nv-1957-distributed-lock-should-reuse-in-memory branch 2 times, most recently from 8b61263 to 54e30e4 Compare April 3, 2023 23:56
@p-fernandez p-fernandez force-pushed the nv-1957-distributed-lock-should-reuse-in-memory branch from 54e30e4 to 73ed00f Compare April 4, 2023 06:28
Copy link
Contributor

@djabarovgeorge djabarovgeorge left a comment

Choose a reason for hiding this comment

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

🚀

@p-fernandez p-fernandez added this pull request to the merge queue Apr 4, 2023
Merged via the queue into next with commit 0eadb8b Apr 4, 2023
11 checks passed
@p-fernandez p-fernandez deleted the nv-1957-distributed-lock-should-reuse-in-memory branch April 4, 2023 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants