Skip to content

Commit 6723905

Browse files
authored
chore: set vendor questionnaire tasks to large-2x machines (#1820)
1 parent b3d9e0a commit 6723905

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

apps/app/src/jobs/tasks/vendors/answer-question.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { generateAnswerWithRAG } from './answer-question-helpers';
44

55
export const answerQuestion= task({
66
id: 'answer-question',
7+
machine: 'large-2x',
78
retry: {
89
maxAttempts: 3,
910
},

apps/app/src/jobs/tasks/vendors/parse-questionnaire.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,7 @@ async function parseQuestionsAndAnswers(content: string): Promise<QuestionAnswer
539539

540540
export const parseQuestionnaireTask = task({
541541
id: 'parse-questionnaire',
542+
machine: 'large-2x',
542543
retry: {
543544
maxAttempts: 2,
544545
},

apps/app/src/jobs/tasks/vendors/vendor-questionnaire-orchestrator.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const BATCH_SIZE = 500; // Process 500 (prev. used) 10 questions at a time
66

77
export const vendorQuestionnaireOrchestratorTask = task({
88
id: 'vendor-questionnaire-orchestrator',
9+
machine: 'large-2x',
910
retry: {
1011
maxAttempts: 3,
1112
},

0 commit comments

Comments
 (0)