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 URL param to support parallel fetches in LiveDataProvider #21818

Merged
merged 1 commit into from May 14, 2024

Conversation

salazarm
Copy link
Contributor

@salazarm salazarm commented May 13, 2024

Summary & Motivation

Add support for having multiple parallel threads fetching live data

How I Tested These Changes

loaded the app and saw parallel requests

jest

return;
}
this.isFetching = true;
this.activeFetches += 1;
Copy link
Collaborator

Choose a reason for hiding this comment

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

This seems good, but I wonder if we could make the feature flag split work across two threads instead of adding another concurrency abstraction?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah I was thinking that too originally but It's actually different behavior because "threads" are a concept exposed to product engineers in order to allow different sets of assets to not compete with each other for bandwidth.

@salazarm salazarm merged commit 14b8d06 into master May 14, 2024
1 of 2 checks passed
@salazarm salazarm deleted the salazarm/parallel-fetches branch May 14, 2024 13:48
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