Reduce update frequency
This commit is contained in:
parent
ba281ce35c
commit
46358a6e5a
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class App extends React.Component<{}, IAppState> {
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
this.refresh();
|
this.refresh();
|
||||||
this.timerId = setInterval(this.refresh.bind(this), 5000);
|
this.timerId = setInterval(this.refresh.bind(this), 60000);
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
|
|
Loading…
Reference in a new issue