Skip to content

fix: HasRateLimits counts cached responses against the rate limit#30

Open
maks-oleksyuk wants to merge 2 commits intosaloonphp:v2from
maks-oleksyuk:fix/skip-rate-limit-for-cache-hits
Open

fix: HasRateLimits counts cached responses against the rate limit#30
maks-oleksyuk wants to merge 2 commits intosaloonphp:v2from
maks-oleksyuk:fix/skip-rate-limit-for-cache-hits

Conversation

@maks-oleksyuk
Copy link
Copy Markdown

When HasCaching and HasRateLimits are used together, cache hits are incorrectly counted toward the limit. This causes delays even when no actual API requests have been made.

@maks-oleksyuk
Copy link
Copy Markdown
Author

maks-oleksyuk commented Apr 27, 2026

fixes saloonphp/saloon#519

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.

1 participant