Skip to content

Commit 6a1733d

Browse files
committed
comments added for clarity
1 parent d355d58 commit 6a1733d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compute_worker/compute_worker.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,8 @@ async def watch_detailed_results(self):
520520
start = time.time()
521521
expiration_seconds = 60
522522

523+
# When running scoring program, we have at least one program to run i.e. scoring_program
524+
# Sometimes when ingestion_only_during_scoring is True, we have two programs to run
523525
expected_completed_program_counters = 1 + int(bool(self.ingestion_only_during_scoring))
524526
while self.watch and self.completed_program_counter < expected_completed_program_counters:
525527
if file_path:

0 commit comments

Comments
 (0)