Skip to content

Commit 8a5b885

Browse files
ihsaan-ullahDidayolo
authored andcommitted
comments added for clarity
1 parent 3270037 commit 8a5b885

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)