Skip to content

Autorefresh of 'disabled' actually refreshes continuously #100

Description

@benjisg

If you select 'disabled' as the option in the auto-refresh control on the dashboard, the underlying calls to refresh the stats actually get called constantly. This is happening because the option value in the picklist is set as 0 and that is passed directly in as the interval for the setTimeout call. This causes it to refresh as fast as possible.

You can see this below by the stream of requests made to the workers endpoint

Auto-refresh

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions