Skip to content

Commit b06d4df

Browse files
committed
Fix bug potential skipping chunks of data
1 parent 4fa4638 commit b06d4df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/odoo_data_flow/import_threaded.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,7 @@ def _execute_load_batch( # noqa: C901
12371237
batch_number,
12381238
error_message=clean_error,
12391239
)
1240-
lines_to_process = lines_to_process[original_chunk_size:]
1240+
lines_to_process = lines_to_process[chunk_size:]
12411241
serialization_retry_count = 0 # Reset counter for next batch
12421242
continue
12431243
continue

0 commit comments

Comments
 (0)