Skip to content

Commit 3d232e9

Browse files
Changed polling to 5 seconds
1 parent 86b9c1b commit 3d232e9

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/routes/utils/replaceRouteIfNeeded.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const replaceRouteIfNeeded = ({
6868
} else if (replaceToLoggedInRoute && routeFromSearchParam) {
6969
route = routeFromSearchParam;
7070
}
71-
debugger;
71+
7272
replaceRoute(route);
7373
}, 0);
7474
}

src/ui/layouts/pipelines/Pipelines/useService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const useService = (): ServiceInterface => {
5151
}),
5252
);
5353
dispatch(pipelinesActions.getMy());
54-
}, 10000);
54+
}, 5000);
5555

5656
return () => clearInterval(intervalId); //This is important
5757
});

src/ui/layouts/settings/Organization/DeleteMember.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const DeleteMember: React.FC<{ member: TInvite }> = ({ member }) => {
2525
const intervalId = setInterval(() => {
2626
//assign interval to a variable to clear it.
2727
dispatch(organizationActions.getMembers({}));
28-
}, 10000);
28+
}, 5000);
2929

3030
return () => clearInterval(intervalId); //This is important
3131
});

src/ui/layouts/stackComponents/RunsTable/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const RunsTable: React.FC<{
2929
const openDetailPage = (run: TRun) => {
3030
setSelectedRunIds([]);
3131
history.push(
32-
routePaths.run.component.results(
32+
routePaths.run.component.statistics(
3333
locationPath.split('/')[2],
3434
run.stackComponentId,
3535
run.id,

src/ui/layouts/stackComponents/Stacks/useService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const useService = (): ServiceInterface => {
5858
onFailure: () => setFetching(false),
5959
}),
6060
);
61-
}, 10000);
61+
}, 5000);
6262

6363
return () => clearInterval(intervalId);
6464
});

src/ui/layouts/stacks/Stacks/useService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const useService = (): ServiceInterface => {
5353
onFailure: () => setFetching(false),
5454
}),
5555
);
56-
}, 10000);
56+
}, 5000);
5757

5858
return () => clearInterval(intervalId); //This is important
5959
});

0 commit comments

Comments
 (0)