Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning].

## [Unreleased]

## [0.0.22] - 2025-06-06

### Fixed in 0.0.22

- sz_file_loader thread pool could slowly drain with certain non-critical errors

## [0.0.21] - 2025-05-14

### Fixed in 0.0.21
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = python-tools
version = 0.0.21
version = 0.0.22
author = senzing
author_email = support@senzing.com
description = Python Tools
Expand Down
6 changes: 3 additions & 3 deletions sz_tools/sz_file_loader
Original file line number Diff line number Diff line change
Expand Up @@ -943,9 +943,6 @@ def load_and_redo(
if SzUnrecoverableError in type(err).mro():
shutdown.set()
else:
if add_future and not shutdown.is_set():
more_recs = add_new_future()

# If loading and None the line in the source was blank
if mode.__name__ == "add_record" and result is None:
load_blank_lines += 1
Expand All @@ -964,6 +961,9 @@ def load_and_redo(
MODE_TEXT[mode.__name__]["stats_msg"],
)
finally:
if add_future and not shutdown.is_set():
more_recs = add_new_future()

del futures[f]

# Early errors check to catch mapping errors, missing dsrc_code, etc
Expand Down
Loading