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

Fix AggregationLimits #2495

Merged
merged 2 commits into from
Sep 17, 2024
Merged

Fix AggregationLimits #2495

merged 2 commits into from
Sep 17, 2024

Conversation

PSeitz
Copy link
Contributor

@PSeitz PSeitz commented Sep 17, 2024

  • change AggregationLimits behavior

This fixes an issue encountered with the current behaviour of
AggregationLimits.
Previously we had AggregationLimits and RessourceLimitGuard, which both
track the memory, but only RessourceLimitGuard released memory when
dropped, while AggregationLimits did not.

This PR changes AggregationLimits to be a guard itself and removes the
RessourceLimitGuard.

  • rename AggregationLimits to AggregationLimitsGuard

This fixes an issue encountered with the current behaviour of
AggregationLimits.
Previously we had AggregationLimits and RessourceLimitGuard, which both
track the memory, but only RessourceLimitGuard released memory when
dropped, while AggregationLimits did not.

This PR changes AggregationLimits to be a guard itself and removes the
RessourceLimitGuard.
@PSeitz PSeitz merged commit 55b0b52 into main Sep 17, 2024
4 checks passed
@PSeitz PSeitz deleted the aggregation_limit branch September 17, 2024 06:25
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.

2 participants