Skip to content

Commit 759e760

Browse files
committed
update page limit
1 parent 07314be commit 759e760

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/statsProvider.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ const GITHUB_ORG = "recodehive";
6767
const POINTS_PER_PR = 10;
6868
const MAX_CONCURRENT_REQUESTS = 8; // Increased for better performance
6969
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
7071

7172
export function CommunityStatsProvider({ children }: CommunityStatsProviderProps) {
7273
const {

0 commit comments

Comments
 (0)