Actions
Feature #25551
closedPrevent auto-refreshing on inactive dashboard tabs
Difficulty:
easy
Triaged:
Yes
Pull request:
Description
Dashboard generates many queries depending on amount of widgets. When search box is used, queries get more complicated and very slow. My initial idea is to use Rails cache to cache these, this will speed things up quite lot.
EDIT: I am turning this into disabling auto refresh for inactive tabs or minimized browsers since caching turned out not to be best idea.
Updated by Lukas Zapletal almost 6 years ago
- Subject changed from Dashboard with search query generates multiple slow queries to Dashboard with search query generates multiple slow queries
- Triaged changed from No to Yes
Updated by The Foreman Bot almost 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Lukas Zapletal
- Pull request https://github.com/theforeman/foreman/pull/6281 added
Updated by Lukas Zapletal over 5 years ago
- Status changed from Ready For Testing to New
- Assignee deleted (
Lukas Zapletal) - Pull request deleted (
https://github.com/theforeman/foreman/pull/6281)
Caching solution was not preferred by the community, I am leaving this to WebUI/JS team to at least prevent refreshing on inactive tab.
Updated by Lukas Zapletal over 5 years ago
- Subject changed from Dashboard with search query generates multiple slow queries to Prevent auto-refreshing on inactive dashboard tabs
- Category changed from Dashboard to Web Interface
New task: Do not refresh dashboard if a tab is on a background.
Updated by Lukas Zapletal over 5 years ago
- Related to Feature #25637: Disable default auto-reload of the dashboard added
Updated by Lukas Zapletal over 5 years ago
- Tracker changed from Bug to Feature
- Description updated (diff)
- Priority changed from High to Normal
- Difficulty set to easy
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6420 added
Updated by Ohad Levy over 5 years ago
- Target version set to 1.22.0
- Fixed in Releases 1.22.0 added
Updated by Avi Sharvit over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset ffef16d629c78eadea487a43d8da5779bb446129.
Actions