Skip to content

Commit

Permalink
update polling intervals
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminWatts committed Feb 28, 2024
1 parent 1f469d9 commit f1f9471
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { GbLiveListItemBalancingTotal } from "../../live-list-item/live-list-ite

export const GbBalancingTotals = () => {
const { data } = useGbSummaryOutputQuery(undefined, {
pollingInterval: 1000 * 15
pollingInterval: 1000 * 60
});

return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from "react";
import { FlatList, Platform, StyleSheet, View } from "react-native";
import { Button, Card, Icon, Text } from "@rneui/themed";
import { FlatList, Platform } from "react-native";

import { useGbSummaryOutputQuery } from "../../../../state/apis/cloudfront/api";
import {
Expand All @@ -20,7 +19,7 @@ export const GbTotalsList: React.FC = () => {
const { data, isLoading, refetch, isError } = useGbSummaryOutputQuery(
undefined,
{
pollingInterval: 1000 * 15,
pollingInterval: 1000 * 60,
refetchOnReconnect: true
}
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const GbUnitGroupsList: React.FC = () => {
const { data, isLoading, refetch, isError } = useGbSummaryOutputQuery(
undefined,
{
pollingInterval: 1000 * 15,
pollingInterval: 1000 * 60,
refetchOnReconnect: true
}
);
Expand Down

0 comments on commit f1f9471

Please sign in to comment.