HikariPool-1-检测到异常的系统时钟更改,池中的软件退出连接 [英] HikariPool-1 - Unusual system clock change detected, soft-evicting connections from pool

查看:253
本文介绍了HikariPool-1-检测到异常的系统时钟更改,池中的软件退出连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序使用Spring Boot和Hikaricp. 发生以下错误: HikariPool-1-检测到异常的系统时钟更改,池中的软退出连接

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

请帮助我修复它!

推荐答案

两个建议.一,确保您使用的是最新版本的HikariCP.二,将计算机配置为从NTP服务器同步时间.

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

较新版本的HikariCP仅在检测到向后时间运动时才退出连接.但是仍然会警告您有较大的向前飞跃.进入睡眠模式的笔记本电脑或挂起并恢复的虚拟机通常会发生较大的飞跃.

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.

这篇关于HikariPool-1-检测到异常的系统时钟更改,池中的软件退出连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆