forked from p15670423/monkey
Updated the refresh intervals to lower server load.
Less auto refreshing for higher responsiveness.
This commit is contained in:
parent
7cefba293a
commit
a25094ff2c
|
@ -103,7 +103,7 @@ class AppComponent extends AuthComponent {
|
|||
|
||||
componentDidMount() {
|
||||
this.updateStatus();
|
||||
this.interval = setInterval(this.updateStatus, 5000);
|
||||
this.interval = setInterval(this.updateStatus, 10000);
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
|
|
|
@ -23,7 +23,7 @@ class ZeroTrustReportPageComponent extends AuthComponent {
|
|||
|
||||
componentDidMount() {
|
||||
this.updatePageState();
|
||||
const refreshInterval = setInterval(this.updatePageState, 8000);
|
||||
const refreshInterval = setInterval(this.updatePageState, 60000);
|
||||
this.setState(
|
||||
{refreshDataIntervalHandler: refreshInterval}
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue