Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/scheduler/src/scheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { scheduleLibraryBuild } from './github';
import { isBuildAlreadyScheduled, createBuildRecord } from '@rnrepo/database';

const DEFAULT_LAST_WEEK_DOWNLOADS_THRESHOLD = 10000;
const DEFAULT_LAST_WEEK_DOWNLOADS_RN_THRESHOLD = 20000;

export async function processLibrary(
libraryName: string,
Expand Down Expand Up @@ -56,7 +57,7 @@ export async function processLibrary(
'react-native',
reactNativeMatcher ?? '*',
{
weeklyDownloadsThreshold: DEFAULT_LAST_WEEK_DOWNLOADS_THRESHOLD
weeklyDownloadsThreshold: DEFAULT_LAST_WEEK_DOWNLOADS_RN_THRESHOLD
}
).then(versions => versions.map(v => v.version));

Expand Down
Loading