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(gateway/ambulance): parallelize work done by the ambulance #1465

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Kazy
Copy link
Member

@Kazy Kazy commented Dec 4, 2023

Description of change

Uses a FuturesUnordered to keep track of 8 tasks in parallel. If we already have more than 8 in progress, it will wait for the first one to be done before moving on.

How has this been tested? (if applicable)

Testing in progress right now.

gateway/src/main.rs Outdated Show resolved Hide resolved
gateway/src/main.rs Outdated Show resolved Hide resolved
@Kazy Kazy requested a review from iulianbarbu December 4, 2023 13:16
Copy link
Contributor

@iulianbarbu iulianbarbu left a comment

Choose a reason for hiding this comment

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

LGTM!

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