Skip to content
Snippets Groups Projects
Commit 0ee972d0 authored by meskio's avatar meskio
Browse files

Regular fetch only once every 30 seconds

parent d437c3a7
Branches
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ class Fetcher extends React.Component { ...@@ -21,7 +21,7 @@ class Fetcher extends React.Component {
if (!this.props.oneShot) { if (!this.props.oneShot) {
this.timerID = setInterval( this.timerID = setInterval(
() => this.fetch(), () => this.fetch(),
10000 // every 10 seconds 30000 // every 30 seconds
); );
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment