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

refactor: better db connection handling #635

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

cygaar
Copy link
Collaborator

@cygaar cygaar commented Nov 27, 2024

Relates to:

Better closing of db connections to prevent dangling connections

Risks

Low

Background

What does this PR do?

This PR adds code to gracefully close db connections. This will be useful when we allow clients to be stopped (right now only starting is supported)

What kind of change is this?

Improvements

Documentation changes needed?

My changes do not require a change to the project documentation.

Testing

Ran tests locally, let me know if there's a better way to test this.

Where should a reviewer start?

Detailed testing steps

@cygaar cygaar changed the title better db connection handling refactor: better db connection handling Nov 28, 2024
@cygaar cygaar force-pushed the better_db_handling branch from bb4d986 to 91c6ae3 Compare November 28, 2024 03:34
@lalalune lalalune merged commit d06dda9 into elizaOS:main Nov 28, 2024
2 checks passed
@cygaar cygaar deleted the better_db_handling branch November 28, 2024 14:53
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