Skip to content

feat: prevent increasing counter state#1

Merged
sonirico merged 1 commit intomainfrom
feat/do-not-increase-counter-if-rate-limit
Sep 24, 2022
Merged

feat: prevent increasing counter state#1
sonirico merged 1 commit intomainfrom
feat/do-not-increase-counter-if-rate-limit

Conversation

@sonirico
Copy link
Copy Markdown
Owner

Prior to this commit when employing the 'Try' interface, if the call incurred in rate limit, the state counter accumulated payload tokens unnecessarily, making the 'Check' interface to return unexpected values.

Prior to this commit when employing the 'Try' interface, if the call
incurred in rate limit, the state counter accumulated payload tokens
unnecessarily, making the 'Check' interface to return unexpected values.
@sonirico sonirico merged commit d57a1b3 into main Sep 24, 2022
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