Skip to content

Conversation

@JamesWrigley
Copy link
Member

Otherwise the worker would prematurely be put back into the pool, causing oversubscription. Also added a warning about oversubscription to the docstring for remote_do(f, ::AbstractWorkerPool).

Fixes #81. Cherry-picked from JuliaParallel/DistributedNext.jl#20.

@JamesWrigley JamesWrigley self-assigned this Jan 17, 2025
@codecov
Copy link

codecov bot commented Jan 17, 2025

Codecov Report

Attention: Patch coverage is 81.81818% with 2 lines in your changes missing coverage. Please review.

Project coverage is 79.26%. Comparing base (1c7eb92) to head (89b4cd3).
Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
src/workerpool.jl 81.81% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #120      +/-   ##
==========================================
+ Coverage   79.19%   79.26%   +0.06%     
==========================================
  Files          10       10              
  Lines        1923     1934      +11     
==========================================
+ Hits         1523     1533      +10     
- Misses        400      401       +1     

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

@JamesWrigley
Copy link
Member Author

(bump)

@LilithHafner
Copy link
Member

Thanks for the PR. Unfortunately, I will not be able to review this.

@LilithHafner LilithHafner removed their request for review January 24, 2025 18:59
@JamesWrigley JamesWrigley force-pushed the workerpool-remotecall branch from 623379f to 22bbd5e Compare January 26, 2025 15:05
Otherwise the worker would prematurely be put back into the pool, causing
oversubscription. Also added a warning about oversubscription to the docstring
for `remote_do(f, ::AbstractWorkerPool)`.
@JamesWrigley JamesWrigley force-pushed the workerpool-remotecall branch from 22bbd5e to 89b4cd3 Compare January 26, 2025 15:25
@JamesWrigley JamesWrigley merged commit e4bd504 into master Jan 26, 2025
8 checks passed
@JamesWrigley JamesWrigley deleted the workerpool-remotecall branch January 26, 2025 15:35
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.

Documentation of Distributed.remotecall() misleading

3 participants