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

fix: set engine to nil - sig benchmark #4234

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

rscampos
Copy link
Contributor

@rscampos rscampos commented Aug 6, 2024

1. Explain what the PR does

0d193c0 fix: set engine to nil - sig benchmark

In order to avoid engine leak, set engine to nil and force GC.

2. Explain how to test it

3. Other comments

Thanks to @geyslan for spotting the Engine leak in every benchmark iteration. When a large benchtime value is used, the tasks get stuck.

In order to avoid engine leak, set engine to nil and force GC.
Copy link
Member

@geyslan geyslan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rscampos rscampos merged commit 5a82fd0 into aquasecurity:main Aug 7, 2024
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants