Closed solverat closed 2 years ago
In large acceptance tests, sometimes the SQLSTATE[08004] [1040] Too many connections exception will rise. I couldn't find a better solution than closing the connection within a restricted timeout.
SQLSTATE[08004] [1040] Too many connections
doctrine: dbal: connections: default: options: 1002: 'SET SESSION wait_timeout=30;'
I've a bad feeling about this, we should investigate further, finding a solution to close connections properly.
Using shogo82148/actions-setup-mysql@v1 action with an extended my.cnf seems to solve this issue.
shogo82148/actions-setup-mysql@v1
my.cnf
In large acceptance tests, sometimes the
SQLSTATE[08004] [1040] Too many connections
exception will rise. I couldn't find a better solution than closing the connection within a restricted timeout.I've a bad feeling about this, we should investigate further, finding a solution to close connections properly.