Skip to content

Commit

Permalink
Keep task options in retry
Browse files Browse the repository at this point in the history
  • Loading branch information
siiptuo committed Nov 15, 2024
1 parent 498958d commit ba3eb28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/views/QueueView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ interface TaskPayload {
productId: string;
instrumentInfoUuid?: string;
modelId?: string;
options: object;
}
async function retryTask(task: AugmentedTask) {
Expand All @@ -159,6 +160,7 @@ async function retryTask(task: AugmentedTask) {
siteId: task.siteId,
productId: task.productId,
measurementDate: task.measurementDate,
options: task.options,
};
if (task.instrumentInfo) {
Expand Down
1 change: 1 addition & 0 deletions shared/lib/entity/Task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ export interface Task {
model: Model;
scheduledAt: string;
priority: number;
options: object;
}

0 comments on commit ba3eb28

Please sign in to comment.