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

Updating usage of MySQL2 to use promise methods #4782

Merged
merged 2 commits into from
Mar 4, 2022

Conversation

mike12345567
Copy link
Collaborator

Description

Attempting to fix mysql issue by changing our usage of mysql2 to use the promise version, making sure disconnection always occurs correctly and using a slightly different syntax/approach.

Hopefully this should help with the connection problems, if not then we can try switching over the connect method to use pools, which may cause other problems but should solve our current issue.

…the promise version, making sure disconnection always occurs correctly and using a slightly different syntax/approach.
@mike12345567 mike12345567 self-assigned this Mar 3, 2022
Copy link
Member

@shogunpurple shogunpurple left a comment

Choose a reason for hiding this comment

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

LGTM! Great job on this fix.

@mike12345567 mike12345567 merged commit 5ca2411 into master Mar 4, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Mar 4, 2022
@mike12345567 mike12345567 deleted the fix/mysql2-usage branch March 4, 2022 10:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants