|
The landlord may be the application's own connection pool program, right?
A piece of code should be written to control the inaccessibility when the number of connections reaches the maximum
It is best to create a new connection when the number of connections reaches the maximum, so as to avoid the situation of inaccessibility and errors.
Or you can use catch to catch the exception, and then do the corresponding processing in the catch, or catch the exception and then output, or do the error page jump! |
|