Skip to content
New issue

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

断线重连后系统时间不同步导致读条时间异常 #411

Open
Notify-ctrl opened this issue Oct 27, 2024 · 0 comments
Open

断线重连后系统时间不同步导致读条时间异常 #411

Notify-ctrl opened this issue Oct 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Notify-ctrl
Copy link
Collaborator

如题,因为双端通过timestamp计算Request从发出到接收时经过的时间(主要用于手气卡),如果系统时间本身有差异,那么读条就会显示异常。解法可能是在连接到服务器时先计算出本机与服务器之间系统时间的差异。

@Notify-ctrl Notify-ctrl added the bug Something isn't working label Oct 27, 2024
@Notify-ctrl Notify-ctrl reopened this Nov 9, 2024
@Notify-ctrl Notify-ctrl changed the title 系统时间不同步导致读条时间异常 断线重连后系统时间不同步导致读条时间异常 Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant