Skip to content

Commit

Permalink
Adjust polling of backend
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhuffer committed Apr 2, 2019
1 parent f3db894 commit 987616c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function ReplicationsContainer(props) {
const { classes } = props

return (
<Query query={allReplications} pollInterval={3000}>
<Query query={allReplications} pollInterval={10000}>
{({ data, loading, error }) => {
if (loading) return <CenteredCircularProgress />
if (error) return <ServerError />
Expand Down
2 changes: 1 addition & 1 deletion ui/src/main/webapp/components/sites/SitesContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function SitesContainer(props) {
const { classes } = props

return (
<Query query={allSites} pollInterval={10000}>
<Query query={allSites}>
{({ data, loading, error }) => {
if (loading) return <CenteredCircularProgress />
if (error) return <ServerError />
Expand Down

0 comments on commit 987616c

Please sign in to comment.