-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Remote clock shows empty plots #5221
Comments
Testing InstructionsFollow the reproduction steps above and verify that plots are initially populated with data when you refresh using the remote clock. |
Not fixed. Refreshing on a plot with the remote clock does not show any historical data. Moreover the following error is observed in the console:
|
Testathon 07-08-22: NOT FIXED, still seeing console error referenced by @akhenry above. |
Verified fixed after redeploying the latest code. |
Summary
There is a race condition with the remote clock whereby on initial load of the application plots will show no historical data due to the historical request being issued with start and end times of
0
. This is because the historical requests are issued before the remote clock has got a time back from the server.There are two potential solutions here:
2 Feels more correct to me because we can't really issue historical requests until we know the time. Issuing requests with bad start and end times is at best wasteful, and at worst may result in errors from backend systems.
Steps to Reproduce
Environment
Impact Check List
The text was updated successfully, but these errors were encountered: