You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current database code opens a new connection instance in each helper, this results in constant closes and opens. We instead want to pass connections by parameter in each helper function, and let the api route that calls it manage the opening and closing of the connection. Also look for any connection leaks. If there is a return statement it must close the database first.
The text was updated successfully, but these errors were encountered:
The current database code opens a new connection instance in each helper, this results in constant closes and opens. We instead want to pass connections by parameter in each helper function, and let the api route that calls it manage the opening and closing of the connection. Also look for any connection leaks. If there is a return statement it must close the database first.
The text was updated successfully, but these errors were encountered: