-
-
Notifications
You must be signed in to change notification settings - Fork 403
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 widgets showing QoH should now be using inventory snapshot data #89
Comments
The old dashboard contained data that was stale for about 12 - 24 hours. An admin user could flush the dashboard cache which refresh this data, but this seems to be used infrequently. Now the data should only be stale for about an hour as the dashboard data is now pulled from the inventory_snapshot table which is refreshed every hour.
You can change the refresh interval by changing the cron expression for the calculate quantity job in
|
The current dashboard widgets calculate (and cache) the QoH values for all products at the given location on the fly (i.e. on the first request for the dashboard). Subsequent requests use the cached data. However, the initial request takes about 45 - 60 seconds and is unnecessary since we should now have that data stored in the inventory snapshot table.
The text was updated successfully, but these errors were encountered: