We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
目前的客户端在线离线方式的判断,在启用时间同步的情况下,如果客户端timedatectl 输出的 Universal time 与 RTC time 间隔大于 前端判定 status: (nowtime - host.TimeStamp <= 10) ? 1 : 0 的10秒,则会显示离线,是否考虑将判断方式改为 上报则为在线,一段时间(例如30秒,添加到config.json 变量中)不上报为离线
timedatectl
Universal time
RTC time
status: (nowtime - host.TimeStamp <= 10) ? 1 : 0
目前客户端宿主机(Debian)解决方法,启用自动时间同步
apt install chrony systemctl start chrony systemctl enable chrony timedatectl set-ntp true
The text was updated successfully, but these errors were encountered:
apt install systemd-timesyncd 一行就可以了
Sorry, something went wrong.
No branches or pull requests
目前的客户端在线离线方式的判断,在启用时间同步的情况下,如果客户端
timedatectl
输出的Universal time
与RTC time
间隔大于 前端判定status: (nowtime - host.TimeStamp <= 10) ? 1 : 0
的10秒,则会显示离线,是否考虑将判断方式改为 上报则为在线,一段时间(例如30秒,添加到config.json 变量中)不上报为离线目前客户端宿主机(Debian)解决方法,启用自动时间同步
The text was updated successfully, but these errors were encountered: