Skip to content

Commit 0aa93d4

Browse files
committed
comments
1 parent 711cfd9 commit 0aa93d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

recordprocessor/src/batch_processor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ def process_rows(file_id, vaccine, supplier, file_key, allowed_operations, creat
7777
row_id = f"{file_id}^{row_count}"
7878
logger.info("MESSAGE ID : %s", row_id)
7979
# Log progress every 1000 rows and the first 10 rows after a restart
80-
if (total_rows_processed_count % 1000 == 0):
80+
if total_rows_processed_count % 1000 == 0:
8181
logger.info(f"Process: {total_rows_processed_count+1}")
82-
if (start_row > 0 and row_count <= start_row+10):
82+
if start_row > 0 and row_count <= start_row+10:
8383
logger.info(f"Restarted Process (log up to first 10): {total_rows_processed_count+1}")
8484

8585
# Process the row to obtain the details needed for the message_body and ack file

0 commit comments

Comments
 (0)