Skip to content

Commit f59edf5

Browse files
committed
Add "content missing" fallback
1 parent 334540c commit f59edf5

File tree

2 files changed

+230
-203
lines changed

2 files changed

+230
-203
lines changed

components/dashboard/src/data/git-providers/suggested-repositories-query.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export const useSuggestedRepositories = ({ excludeConfigurations }: Props) => {
3131
return repositories;
3232
},
3333
{
34+
staleTime: 1000 * 60 * 10, // 10 minutes
3435
// Keeps data in cache for 7 days - will still refresh though
3536
cacheTime: 1000 * 60 * 60 * 24 * 7,
3637
},

0 commit comments

Comments
 (0)