Increased all intervals in UI code to 5 seconds
This commit is contained in:
parent
2311498ef4
commit
7614170f8d
|
@ -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