forked from p34709852/monkey
Merge pull request #497 from guardicore/hotfix/lower-refresh-intervals
Updated the refresh intervals to lower server load.
This commit is contained in:
commit
10f1282b15
|
@ -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