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

Change cache to avoid memory use #496

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Conversation

jeffmendoza
Copy link
Member

Orignally, the cache was intended to be long lived to handle incoming webhooks at any time. Currently, we are just polling, and just need the cache to handle a single "EnforceAll" run, where we hit the same paths multiple times in that run. Therefore, change the cache to be per-installation, and free it after each "EnforceAll".

Orignally, the cache was intended to be long lived to handle incoming webhooks
at any time. Currently, we are just polling, and just need the cache to handle
a single "EnforceAll" run, where we hit the same paths multiple times in that
run. Therefore, change the cache to be per-installation, and free it after each
"EnforceAll".

Signed-off-by: Jeff Mendoza <jlm@jlm.name>
@jeffmendoza jeffmendoza merged commit 9c5f410 into ossf:main Mar 7, 2024
5 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.

None yet

1 participant