Skip to content

Commit f267bba

Browse files
committed
fix: increase generations polling interval from 5s to 10s
1 parent 6586bc6 commit f267bba

File tree

1 file changed

+2
-2
lines changed
  • apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.prompts.$promptSlug

1 file changed

+2
-2
lines changed

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.prompts.$promptSlug/route.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,9 +1235,9 @@ function GenerationsTab({
12351235
}
12361236
}, [fetcher.data, fetcher.state]);
12371237

1238-
// Poll for new generations every 10 seconds (also on focus/visibility)
1238+
// Poll for new generations periodically (also on focus/visibility)
12391239
useInterval({
1240-
interval: 5_000,
1240+
interval: 10_000,
12411241
onLoad: false,
12421242
callback: () => {
12431243
if (pollFetcher.state !== "idle") return;

0 commit comments

Comments
 (0)