Skip to content

Avoid Unnecessary Flex Requests #1372

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

Merged
merged 1 commit into from
Apr 2, 2025
Merged

Conversation

miles-grant-ibigroup
Copy link
Collaborator

Description:
Previously we were generating upwards of 6 flex requests per request. It turns out we didn't have to do that. An OTP-UI patch would be a cleaner way to do this, but since we will soon be moving to PlanConnection, I think this quicker solution makes more sense!

Copy link
Contributor

@daniel-heppner-ibigroup daniel-heppner-ibigroup left a comment

Choose a reason for hiding this comment

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

Why not just add this to the combination generator in OTP UI. I don't like splitting the logic across both repositories. Is this really a quicker solution? this exact code would work fine in OTP UI I think

@miles-grant-ibigroup
Copy link
Collaborator Author

Why not just add this to the combination generator in OTP UI. I don't like splitting the logic across both repositories. Is this really a quicker solution? this exact code would work fine in OTP UI I think

We have dependents who use core-utils as is at the moment and I don't know if we want to make a breaking change when we know the move to PlanConnection is imminent

Copy link
Contributor

@daniel-heppner-ibigroup daniel-heppner-ibigroup left a comment

Choose a reason for hiding this comment

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

okay, I'm down to keep this here given the other considerations.

Copy link
Contributor

@amy-corson-ibigroup amy-corson-ibigroup left a comment

Choose a reason for hiding this comment

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

LGTM

@miles-grant-ibigroup miles-grant-ibigroup merged commit 2aa9558 into dev Apr 2, 2025
9 checks passed
@miles-grant-ibigroup miles-grant-ibigroup deleted the flex-request-limiting branch April 2, 2025 14:29
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.

3 participants