Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit a8e0f7a

Browse files
authored
Add exclusion array to jobManager.ts (#834)
* Add exclusion array to jobManager.ts * fixup * fixup
1 parent b548fa9 commit a8e0f7a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/job/jobManager.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,9 @@ export class JobManager {
116116
try {
117117
this._jobHandler = null;
118118
if (job?.payload) {
119+
const excludeRepoFromBenchmarks = ['mms-docs'].includes(job.payload.repoName);
119120
// Can easily rollback with commenting out this flag.
120-
job.useWithBenchmark = true;
121+
job.useWithBenchmark = !excludeRepoFromBenchmarks;
121122
await this.createHandlerAndExecute(job);
122123
} else {
123124
this._logger.info('JobManager', `No Jobs Found: ${new Date()}`);

0 commit comments

Comments
 (0)