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

Adjust importer's push limits #100

Merged
merged 2 commits into from
Mar 14, 2025
Merged

Adjust importer's push limits #100

merged 2 commits into from
Mar 14, 2025

Conversation

spraints
Copy link
Member

@spraints spraints commented Mar 7, 2025

Iterating on #84, we'd like the default limit for pushes by GEI to be 40 GiB, with an option to raise the limit to 80 GiB.

cc @iomekam @ttaylorr @mhagger @elhmn
cc https://github.slack.com/archives/C12RL65A9/p1741290565885329 (no xref because this is a public repo!)

@Copilot Copilot bot review requested due to automatic review settings March 7, 2025 19:02

Choose a reason for hiding this comment

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

PR Overview

This PR adjusts the GEI push limits by setting a default push size of 40 GiB for imports and allowing an increased limit of 80 GiB when both import and allow-list flags are enabled.

  • Use a switch statement to differentiate between import cases.
  • Update comments to clarify the two cases for push limits.

Reviewed Changes

File Description
internal/spokes/spokes.go Updated logic in getMaxInputSize() to handle different push limits for GEI imports

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more

@spraints spraints marked this pull request as draft March 7, 2025 21:15
@spraints spraints marked this pull request as ready for review March 7, 2025 21:23
Copy link

@iomekam iomekam left a comment

Choose a reason for hiding this comment

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

LGTM!

@spraints spraints merged commit b3282a5 into main Mar 14, 2025
6 of 7 checks passed
@spraints spraints deleted the forty branch March 14, 2025 21:01
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