Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Limit number of processes on Windows #47

Closed
wants to merge 1 commit into from
Closed

Conversation

adamltyson
Copy link
Member

Closes brainglobe/brainglobe-utils#6

Need to test this on Windows, and ideally on a system with >61 cores

@codecov
Copy link

codecov bot commented Oct 10, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (7a763f0) 55.02% compared to head (863df95) 54.65%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      brainglobe/imio#47      +/-   ##
==========================================
- Coverage   55.02%   54.65%   -0.38%     
==========================================
  Files           4        4              
  Lines         169      172       +3     
==========================================
+ Hits           93       94       +1     
- Misses         76       78       +2     
Files Coverage Δ
imio/load.py 44.34% <25.00%> (-0.30%) ⬇️

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

@adamltyson
Copy link
Member Author

@alessandrofelder is there a good way of testing this? It should be tested (in particular because it will be envoked very rarely - Windows & >61 cores), but just mocking the number of available cores seems unsatisfying.

@adamltyson adamltyson marked this pull request as ready for review October 13, 2023 07:24
@adamltyson adamltyson removed the request for review from alessandrofelder October 13, 2023 13:29
@adamltyson adamltyson marked this pull request as draft October 13, 2023 13:29
@adamltyson
Copy link
Member Author

Closing in favour of brainglobe/brainglobe-utils#5

@adamltyson adamltyson closed this Oct 13, 2023
@alessandrofelder alessandrofelder deleted the max-processes branch October 13, 2023 14:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Number of workers for concurrent futures must be <=61 on Windows
1 participant