HikariPool-1 - Unusual system clock change detected, soft-evicting connections from pool

痴心易碎 提交于 2019-12-23 23:44:35

问题


My application use Spring boot and hikaricp. It occurs this errors: HikariPool-1 - Unusual system clock change detected, soft-evicting connections from pool

Please help me fix it!


回答1:


Two recommendations. One, make sure you are using the latest version of HikariCP. Two, configure the computer to sync time from a NTP server.

Newer versions of HikariCP will only evict connections when backward time motion is detected. But will still log a warning for large forward leaps. Large forward leaps often occur on laptops that go into sleep mode or VMs that are suspended and resumed.



来源:https://stackoverflow.com/questions/40612380/hikaripool-1-unusual-system-clock-change-detected-soft-evicting-connections-f

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!