We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07314be commit 759e760Copy full SHA for 759e760
src/lib/statsProvider.tsx
@@ -67,6 +67,7 @@ const GITHUB_ORG = "recodehive";
67
const POINTS_PER_PR = 10;
68
const MAX_CONCURRENT_REQUESTS = 8; // Increased for better performance
69
const CACHE_DURATION = 5 * 60 * 1000; // 5 minutes cache
70
+const MAX_PAGES_PER_REPO = 20; // Limit pages to prevent infinite loops on huge repos
71
72
export function CommunityStatsProvider({ children }: CommunityStatsProviderProps) {
73
const {
0 commit comments