Skip to content

Commit 8d32982

Browse files
committed
Remove retry on SoftTimeLimitExceeded
1 parent 14232bc commit 8d32982

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

app/grandchallenge/evaluation/tasks.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import uuid
22
from datetime import timedelta
33

4-
from billiard.exceptions import SoftTimeLimitExceeded
54
from celery.utils.log import get_task_logger
65
from django.conf import settings
76
from django.core.exceptions import ValidationError
@@ -202,12 +201,7 @@ def prepare_and_execute_evaluation(*, evaluation_pk):
202201

203202

204203
@acks_late_micro_short_task(
205-
retry_on=(
206-
TooManyJobsScheduled,
207-
LockNotAcquiredException,
208-
# TODO remove SoftTimeLimitExceeded, temporary workaround for https://github.com/DIAGNijmegen/rse-grand-challenge-admin/issues/663
209-
SoftTimeLimitExceeded,
210-
)
204+
retry_on=(TooManyJobsScheduled, LockNotAcquiredException)
211205
)
212206
@transaction.atomic
213207
def create_algorithm_jobs_for_evaluation(*, evaluation_pk, first_run):

0 commit comments

Comments
 (0)