You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Jeremy Mitchell (JIRA)" <ji...@apache.org> on 2017/03/21 21:11:41 UTC

[jira] [Created] (TC-204) TO UI - Only reload /edge_health table when browser tab is active

Jeremy Mitchell created TC-204:
----------------------------------

             Summary: TO UI - Only reload /edge_health table when browser tab is active
                 Key: TC-204
                 URL: https://issues.apache.org/jira/browse/TC-204
             Project: Traffic Control
          Issue Type: Improvement
          Components: Traffic Ops
    Affects Versions: 2.0.0
            Reporter: Jeremy Mitchell
            Assignee: Jeremy Mitchell
            Priority: Minor


Currently, /edge_health reloads every 10 seconds which calls /api/1.1/traffic_monitor/stats.json?data_type=json

This query is not exactly fast at the moment which causes load on the database. This load could be lightened by:

a) reducing the interval
b) only making the call if the browser tab is active



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)