-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Description
目前的客户端在线离线方式的判断,在启用时间同步的情况下,如果客户端timedatectl 输出的 Universal time 与 RTC time 间隔大于 前端判定 status: (nowtime - host.TimeStamp <= 10) ? 1 : 0 的10秒,则会显示离线,是否考虑将判断方式改为 上报则为在线,一段时间(例如30秒,添加到config.json 变量中)不上报为离线
目前客户端宿主机(Debian)解决方法,启用自动时间同步
apt install chrony
systemctl start chrony
systemctl enable chrony
timedatectl set-ntp true
Metadata
Metadata
Assignees
Labels
No labels