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

Add mutex locks to data-sink-worker #1439

Merged
merged 8 commits into from
Sep 7, 2023
Merged

Add mutex locks to data-sink-worker #1439

merged 8 commits into from
Sep 7, 2023

Conversation

garrrikkotua
Copy link
Contributor

@garrrikkotua garrrikkotua commented Sep 6, 2023

Changes proposed ✍️

What

🤖 Generated by Copilot at 31e8fea

This pull request adds the functionality for locking and unlocking resources using the @crowd/redis library for the data sink worker service. It updates the configuration, dependencies, and logic for the service to use the Redis client and the mutex functions from the library. It also defines a custom TimeoutError class for handling timeout errors when acquiring or releasing locks.

🤖 Generated by Copilot at 31e8fea

Sing, O Muse, of the valiant data sink worker service
That connects to the swift-footed Redis client with skill
And locks and unlocks the activities and members with care
Using the cunning mutex logic of the @crowd/redis library

Why

How

🤖 Generated by Copilot at 31e8fea

Checklist ✅

  • Label appropriately with Feature, Improvement, or Bug.
  • Add screehshots to the PR description for relevant FE changes
  • New backend functionality has been unit-tested.
  • API documentation has been updated (if necessary) (see docs on API documentation).
  • Quality standards are met.

@garrrikkotua garrrikkotua merged commit 286dc92 into main Sep 7, 2023
11 checks passed
@garrrikkotua garrrikkotua deleted the fix/concurrency branch September 7, 2023 09:31
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