Skip to content

Commit 84992c2

Browse files
committed
fix(jobs): tuned sprinkler config
1 parent 259e544 commit 84992c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shared/helpers/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -771,8 +771,8 @@ export function sprinkleProtectedJobs(jobs: JobListResult[]): JobListResult[] {
771771
const publicJobs = jobs.filter(job => job.access === "public");
772772

773773
return interleaveSemiRandom(publicJobs, protectedJobs, {
774-
N: Math.floor(jobs.length * 0.5),
775-
targetBInFirstN: Math.floor(protectedJobs.length * 0.5),
774+
N: Math.min(100, Math.floor(jobs.length * 0.5)),
775+
targetBInFirstN: Math.floor(protectedJobs.length * 0.7),
776776
});
777777
}
778778

0 commit comments

Comments
 (0)