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

Bug in enforcing storage limit, grew too large in many cases. #140

Merged
merged 3 commits into from
Nov 3, 2021

Conversation

deployHuman
Copy link
Contributor

@deployHuman deployHuman commented Oct 30, 2021

I had my storage limit to 10, and it grew way to large, only made size-check in specific cases. Moved the Check to when the script generates a new token pair

@l0gicgate l0gicgate added this to the 1.2.2 milestone Nov 2, 2021
@l0gicgate
Copy link
Member

This looks fine to me, @akrabat we never really benchmarked large storage use cases before so we missed this. Does that look okay to you?

@akrabat
Copy link
Member

akrabat commented Nov 3, 2021

LGTM. I see no problem with enforcing the storage limit when generating the token in addition to when we do it in process.

@l0gicgate l0gicgate merged commit ac287a1 into slimphp:1.x Nov 3, 2021
@deployHuman deployHuman deleted the patch-1 branch November 5, 2021 06:49
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