1 | [2022-07-15 08:00:56.762] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@7b0e60a4 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184 |
运维把这两个参数都设置成了 600,后来又去除了,改为了默认又好了。
(改600,是因为之前连接数不够用,他把连接数改大了,顺便把这两个参数改为 600s=10分钟了。)