-
Notifications
You must be signed in to change notification settings - Fork 800
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
Dashboard overview doesn't update with new metrics #751
Comments
The statistics in the dashboard is not real-time. They are updated only after dataset pulled from the database. |
同样的问题,那什么时候或者多久会触发数据库的更新呢 |
The same problem, when or how long will the update of the database be triggered? |
How often does this occur? It seems to take well over an hour even with feedback and items going in and out. Does it only happen on master application startup? If so it seems like that would be reported as unintended behavior quite frequently. |
If you are located in China, then it is most likely a time zone issue. . Try subtracting 8 hours from the time_stamp in the database and restart gorse. You will be surprised to find that it is updated. . I searched orz all night to find this reason. My solution was to subtract 8 hours from time_stamp before adding the feedback item; you can try to modify the local time zone/docker time zone. Anyway, I didn't succeed. After changing it, even It's 8 hours ahead. It's really drunk. I might as well subtract 8 hours before saving. |
Gorse version
v0.4.14 (gorse-in-one, per dashboard master version)
Describe the bug
The web dashboard only shows accurate metrics on startup. I've had it running for hours a couple of times but nothing changes.
To Reproduce
Simply start Gorse and insert some items/positively marked feedback. The 5 metrics on the overview page do not change.
Expected behavior
I expect the dashboard to be relatively real-time. I'm not sure what the metrics refresh period is, but it seemed to be stale for well over an hour.
Additional context
Is this period a configuration option I should be changing somewhere?
The text was updated successfully, but these errors were encountered: