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

Add option to set multiprocessing method through mp_method param in container #140

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

maurerle
Copy link
Collaborator

Closes #139

The deadlock warning looks like it is not needed:
python/cpython#114041 (comment)

Looks like we as well have a pool from which the processes are forked. As long as this is the only part where forking happens, I think we are save..?

The mp_method can be set in the create_tcp_container methods and so on as well

@maurerle maurerle force-pushed the allow_setting_mp_method branch from 3eb8ea9 to f7ef90c Compare November 25, 2024 15:05
Copy link

codecov bot commented Nov 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.97%. Comparing base (ba0a697) to head (f7ef90c).
Report is 2 commits behind head on development.

Additional details and impacted files
@@             Coverage Diff              @@
##           development     #140   +/-   ##
============================================
  Coverage        88.97%   88.97%           
============================================
  Files               22       22           
  Lines             2457     2459    +2     
============================================
+ Hits              2186     2188    +2     
  Misses             271      271           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@rcschrg rcschrg merged commit e23d197 into development Nov 25, 2024
10 checks passed
@maurerle maurerle deleted the allow_setting_mp_method branch December 1, 2024 10:54
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.

High memory usage of as_agent_process function since mango 2.x
2 participants