Skip to content

Commit 48682d0

Browse files
committed
comments added for clarity, empty line removed
1 parent 324eb5c commit 48682d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compute_worker/compute_worker.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@ def rewrite_bundle_url_if_needed(url):
289289
290290
Example: http://localhost:9000|http://minio:9000
291291
"""
292-
293292
rule = Settings.WORKER_BUNDLE_URL_REWRITE
294293
if not rule or "|" not in rule:
295294
return url
@@ -1425,6 +1424,8 @@ def start(self):
14251424

14261425
if self.is_scoring:
14271426
# Check if scoring program failed
1427+
# We have try except here because when running scoring program we can have 2 or 3 gathered tasks
1428+
# 3 gathered tasks in case when `ingestion_only_during_scoring` is True
14281429
try:
14291430
program_results, _, _ = task_results
14301431
except Exception:

0 commit comments

Comments
 (0)