Skip to content

Auto-refresh should only poll the active view's resources #54

@larkly

Description

@larkly

Problem

Auto-refresh currently polls ALL resources (servers, volumes, floating IPs, networks, etc.) every 5 seconds regardless of which tab the user is viewing. This causes:

  • Unnecessary API load on the OpenStack cloud
  • Potential rate-limiting issues with cloud admins
  • Wasted bandwidth and compute for data the user isn't looking at

Proposed Solution

  • Only poll resources relevant to the currently active view/tab
  • When switching tabs, immediately fetch that tab's data, then continue polling only that resource
  • Consider a brief "stale data" indicator when switching tabs while the fresh fetch is in flight

Priority

Critical — this is both a performance issue and a trust issue with cloud admins who will see excessive API calls from lazystack.

Context

Identified during features & usability review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions