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

using pqueue instead of chunk+Promise.all() for setTrialSessionCalendarInteractor #5223

Open
wants to merge 12 commits into
base: staging
Choose a base branch
from

Conversation

jtdevos
Copy link
Collaborator

@jtdevos jtdevos commented Aug 7, 2024

No description provided.

jtdevos added 3 commits August 7, 2024 15:31
In the course of updating acquireLock#removeLock to use dynamodbClientService#batchDelete(),
I also went ahead and added typing for the for the batchDelete method. There was another
type warning in dynamodbClientService that was not introduced by me, but needed to be
addressed in order to commit, so i resorted to changing an untyped variable to type any[].
Apologies.
@jtdevos jtdevos marked this pull request as ready for review September 5, 2024 15:54
@@ -144,10 +145,8 @@ export const setTrialSessionCalendarInteractor = async (
// Story: 10422
Copy link
Contributor

Choose a reason for hiding this comment

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

If this comment proved useful, it may be worth updating it to include some information about why we're using the p-queue module here as opposed to the previous approach.

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.

3 participants