Skip to content

feat: example capped resources handler #2

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
Dec 24, 2024
Merged

Conversation

fra98
Copy link
Member

@fra98 fra98 commented Dec 20, 2024

Description

This PR modifies the example to provide a more realistic and understandable use case.
In particular, it creates a handler that accepts every resource request but caps the amount of resources the resource slice can use if they exceed the configured thresholds.

@fra98 fra98 force-pushed the frt/capped-resources branch from ee219a4 to 1a13926 Compare December 20, 2024 15:51
@fra98 fra98 requested a review from aleoli December 20, 2024 15:55
@fra98 fra98 merged commit 3d0d11e into main Dec 24, 2024
4 checks passed
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