-
Notifications
You must be signed in to change notification settings - Fork 730
Use a weak reference to sqlalchemy Engine to avoid memory leak #1771
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
Merged
shalevr
merged 23 commits into
open-telemetry:main
from
rbagd:fix/memory-leak-event-listener
Jun 27, 2023
Merged
Changes from 18 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
49d7c53
Use a weak reference to sqlalchemy Engine to avoid memory leak
rbagd edf8d11
Made a mistake in resolving the weak reference
rbagd ed83653
Fixed formatting issues
rbagd 6b02c5d
Updated changelog
rbagd 0421847
Added unit test to check that engine was garbage collected
rbagd be48013
Do not save engine in EngineTracer to avoid memory leak
rbagd bd32d9d
Add an empty line to satisfy black formatter
rbagd 75d31d7
Fix isort complaints
rbagd 65afc9d
Merge branch 'main' into fix/memory-leak-event-listener
shalevr 441afc7
Fixed the issue when pool name is not set and =None
rbagd b50a258
Fix formatting issue
rbagd 005037c
Merge branch 'main' into fix/memory-leak-event-listener
rbagd 6022804
Merge branch 'open-telemetry:main' into fix/memory-leak-event-listener
rbagd 324e67b
Merge branch 'main' into fix/memory-leak-event-listener
rbagd afcf121
Rebased after changes in a recent commit
rbagd 776d5e5
Merge branch 'main' into fix/memory-leak-event-listener
shalevr e650ff6
Merge branch 'main' into fix/memory-leak-event-listener
rbagd ede2d71
Merge branch 'main' into fix/memory-leak-event-listener
shalevr 514491b
Updated PR number in changelog
rbagd 8282a11
Merge branch 'main' into fix/memory-leak-event-listener
shalevr a947471
Merge branch 'main' into fix/memory-leak-event-listener
shalevr 6519c3a
Merge branch 'main' into fix/memory-leak-event-listener
shalevr 0156424
Merge branch 'main' into fix/memory-leak-event-listener
shalevr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.