Skip to content

Commit

Permalink
Merge pull request #1796 from France-ioi/extend-task-proxy-grading-delay
Browse files Browse the repository at this point in the history
extend the task-proxy timeout before failing on grade-answer call
  • Loading branch information
smadbe authored Sep 30, 2024
2 parents 76c498f + fae1692 commit 577b435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/items/api/task-proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export class Task {
return this.chan.call({
method: 'task.gradeAnswer',
params: [ answer, answerToken ],
timeout: 40000
timeout: 300000 // 5 min, same as the taskgrader timeout
}).pipe(
map(result => {
if (result.length === 0) throw new Error('task.gradeAnswer returned no arguments');
Expand Down

0 comments on commit 577b435

Please sign in to comment.