[
https://issues.apache.org/jira/browse/TC-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeremy Mitchell closed TC-204.
------------------------------
> 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
> Fix For: 2.0.0
>
>
> 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)