Project

General

Profile

Feature #25637

Disable default auto-reload of the dashboard

Added by Tomer Brisker 12 months ago. Updated 10 months ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Dashboard
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1650641

Description of problem:

The Satellite dashboard will auto-reload by default. I'm not aware of any users that monitor the dashboard in a way that's helped by auto-reload, and the reload can use a lot of system resources if the widgets are doing intense SQL.

I've even seen cases where the auto-reload has taken the Satellite down. This can happen if a user has a large number of systems, and a widget runs SQL that takes longer than 60 seconds to run. This can result in a "stacking" effect where more queries are coming in than can be cleared, and the Satellite will eventually become unresponsive.

It would be better if auto-reload was either disabled by default or removed entirely. This would provide a better experience for users with lots of systems, since they would not need to disable the auto-reload to regain some performance headroom on the Satellite.

Version-Release number of selected component (if applicable): 6.4.1

Expected behavior: dashboard page does not auto-reload if user's browser is on the dashboard page

Actual behavior: dashboard page auto-reloads


Related issues

Related to Foreman - Feature #1881: Auto refreshClosed2012-10-02
Related to Foreman - Feature #25551: Prevent auto-refreshing on inactive dashboard tabsClosed

Associated revisions

Revision d4a0b9ee (diff)
Added by Tomer Brisker 12 months ago

Fixes #25637 - Default dashboard auto-refresh to off

Leaving auto-refresh on can lead to siginificant slowdowns and load on
the web server process, especially when using many widgets.

History

#1 Updated by The Foreman Bot 12 months ago

  • Assignee set to Tomer Brisker
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6311 added

#2 Updated by Tomer Brisker 12 months ago

#3 Updated by Michael Moll 12 months ago

  • Fixed in Releases 1.21.0 added

#4 Updated by Tomer Brisker 12 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Ewoud Kohl van Wijngaarden 10 months ago

  • Subject changed from disable auto-reload of the dashboard to Disable default auto-reload of the dashboard

#6 Updated by Lukas Zapletal 10 months ago

  • Related to Feature #25551: Prevent auto-refreshing on inactive dashboard tabs added

Also available in: Atom PDF