forked from hjpotter92/ptokax-scripts
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check connections to MySQL only if query execution fails
* Try to execute query using the existing connection. * If that fails, establish new connection and execute query, so a balance is maintained between persistent connection and new connection for every query. * If possible, look for a better/alternative solution.
- Loading branch information
1 parent
9811160
commit 9e8cc8a
Showing
2 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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 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