Skip to content

Commit 3a667fe

Browse files
committed
Do not wait as S3 is now strongly consistent
1 parent 61f267c commit 3a667fe

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

app/grandchallenge/components/backends/amazon_sagemaker_base.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import logging
22
import re
3-
import time
43
from abc import ABC, abstractmethod
54
from datetime import timedelta
65
from json import JSONDecodeError
@@ -719,8 +718,6 @@ def _handle_failed_job(self, *, event):
719718
"Out of Memory. Please use a larger instance",
720719
):
721720
try:
722-
# Allow time for the log file to be written
723-
time.sleep(10)
724721
users_process_exit_code = self._get_task_return_code()
725722
except UncleanExit:
726723
users_process_exit_code = None

0 commit comments

Comments
 (0)