diff --git a/src/lib/statsProvider.tsx b/src/lib/statsProvider.tsx index 2ba2c363..883840ae 100644 --- a/src/lib/statsProvider.tsx +++ b/src/lib/statsProvider.tsx @@ -94,9 +94,9 @@ interface CommunityStatsProviderProps { const GITHUB_ORG = "recodehive"; const POINTS_PER_PR = 10; -const MAX_CONCURRENT_REQUESTS = 8; -const CACHE_DURATION = 5 * 60 * 1000; // 5 minutes cache -const MAX_PAGES_PER_REPO = 20; +const MAX_CONCURRENT_REQUESTS = 15; +const CACHE_DURATION = 20 * 60 * 1000; // 20 minutes cache +const MAX_PAGES_PER_REPO = 10; // Function to calculate points based on PR labels const calculatePointsForPR = (labels?: Array<{ name: string }>): number => {