idleTimeout should be added to close idle connections
cyjake opened this issue · comments
Chen Yangjian commented
...to prevent connection squatting. The default max connections in mysql is 100-151:
mysql> show variables like 'max_connections';
+-----------------+-------+
| Variable_name | Value |
+-----------------+-------+
| max_connections | 151 |
+-----------------+-------+
1 row in set (0.03 sec)