Collection Page Connects to SQL but never disconnects #7

Open
opened 2025-03-11 01:10:06 -05:00 by JMTNTBANG · 0 comments
JMTNTBANG commented 2025-03-11 01:10:06 -05:00 (Migrated from github.com)

Each time the collection page is loaded, the server initiates a new connection to the MySQL Server, but any previous connections will still remain running, causing an eventual crash from too many connections to the MySQL Server. This includes page reloads such as after editing an entry or adding a new adjustment, making this issue occur much quicker.
JMTNTBANG/MySQL-Video-Game-Collector@83a5c30cf8/src/requests/get/collection.js (L10)

Each time the collection page is loaded, the server initiates a new connection to the MySQL Server, but any previous connections will still remain running, causing an eventual crash from too many connections to the MySQL Server. This includes page reloads such as after editing an entry or adding a new adjustment, making this issue occur much quicker. https://github.com/JMTNTBANG/MySQL-Video-Game-Collector/blob/83a5c30cf87b1961b46b2bf924cd8587595ab1da/src/requests/get/collection.js#L10
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JMTNTBANG/MySQL-Video-Game-Collector#7
No description provided.