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

fix: Remove multiprocessing for run integration action #137

Merged
merged 3 commits into from May 9, 2024

Conversation

daryllimyt
Copy link
Contributor

Motivation

After upgrading to loguru, integration would throw an error regarding multiprocessing.SimpleQueue when the execution is offloaded to a child process.

Realizations: when using cloudpickle, it captures the function + imported modules. This also captures the loguru logger, which (most likely) has a queue object it uses for async writes.

Solution

Remove multiprocessing

Copy link

vercel bot commented May 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tracecat ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 9, 2024 8:56am

@daryllimyt daryllimyt changed the title fix: use cloudpickle and process pool for fix: Remove multiprocessing for run integration action May 9, 2024
@daryllimyt daryllimyt self-assigned this May 9, 2024
@daryllimyt daryllimyt merged commit b6b72f6 into main May 9, 2024
2 checks passed
@daryllimyt daryllimyt deleted the fix/integrations/virustotal branch May 9, 2024 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant