Skip to content

Commit 62957a7

Browse files
committed
Now printing match progress every 1000 rows
1 parent c181ed0 commit 62957a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/pipeline/match_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def start(connection, added_or_updated_rows, manual_matches_df):
4848
pdp_contacts["email_normalized"] = pdp_contacts["email"].apply(normalize_before_match)
4949

5050
rows = items_to_update.to_dict(orient="records")
51-
row_print_freq = max(1, np.floor_divide(len(rows), 20)) # approx every 5% (or every row if small)
51+
row_print_freq = 1000
5252

5353
for row_num, row in enumerate(rows):
5454
if row_num % row_print_freq == 0:

0 commit comments

Comments
 (0)