Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in subtask upsert was hidden by multi-threading #262 #263

Merged
merged 1 commit into from
May 22, 2024

Conversation

SteveMcGrath
Copy link
Collaborator

The SubTask upsert method was failing do to the mapping change from 2.0.4, however was masked because this was occuring within a worker thread. Corrected the issue, Added logic to only use threading when the max_workers is above 1 (for testing), and also added a failsafe to stop execution after processing findings if the number of observed exceptions from the worker jobs is above 0.

This seems to be related to the bugfix that attempted to correct #257, #258, #259

The SubTask upsert method was failing do to the mapping change from 2.0.4, however was masked because this was occuring within a worker thread.  Corrected the issue, Added logic to only use threading when the max_workers is above 1 (for testing), and also added a failsafe to stop execution after processing findings if the number of observed exceptions from the worker jobs is above 0.
@SteveMcGrath SteveMcGrath merged commit 900e41c into main May 22, 2024
5 checks passed
@SteveMcGrath SteveMcGrath deleted the bugfix/262 branch May 22, 2024 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant