forked from p15670423/monkey
UI: Increase the map update frequency by 5x
This commit is contained in:
parent
ccc29e448c
commit
07cfc34a8e
|
@ -32,7 +32,7 @@ class MapPageComponent extends AuthComponent {
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
this.getNodeStateListFromServer();
|
this.getNodeStateListFromServer();
|
||||||
this.updateMapFromServer();
|
this.updateMapFromServer();
|
||||||
this.interval = setInterval(this.updateMapFromServer, 5000);
|
this.interval = setInterval(this.updateMapFromServer, 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
|
|
Loading…
Reference in New Issue