forked from p15670423/monkey
Merge pull request #193 from guardicore/hotfix/increase-ui-intervals
Increased all intervals in UI code to 5 seconds
This commit is contained in:
commit
d84950baef
|
@ -75,7 +75,7 @@ class AppComponent extends AuthComponent {
|
|||
|
||||
componentDidMount() {
|
||||
this.updateStatus();
|
||||
this.interval = setInterval(this.updateStatus, 2000);
|
||||
this.interval = setInterval(this.updateStatus, 5000);
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
|
|
|
@ -27,7 +27,7 @@ class MapPageComponent extends AuthComponent {
|
|||
|
||||
componentDidMount() {
|
||||
this.updateMapFromServer();
|
||||
this.interval = setInterval(this.timedEvents, 1000);
|
||||
this.interval = setInterval(this.timedEvents, 5000);
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
|
|
|
@ -48,7 +48,7 @@ class ReportPageComponent extends AuthComponent {
|
|||
componentDidMount() {
|
||||
this.updateMonkeysRunning().then(res => this.getReportFromServer(res));
|
||||
this.updateMapFromServer();
|
||||
this.interval = setInterval(this.updateMapFromServer, 1000);
|
||||
this.interval = setInterval(this.updateMapFromServer, 5000);
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
|
|
Loading…
Reference in New Issue