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

feat(config): set maximum limit for number of workers #712

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

Alputer
Copy link
Member

@Alputer Alputer commented Nov 5, 2024

No description provided.

@Alputer Alputer self-assigned this Nov 5, 2024
Alputer added a commit to Alputer/reana-server that referenced this pull request Nov 5, 2024
Copy link

codecov bot commented Nov 5, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 60.06%. Comparing base (95ea2df) to head (d36b59b).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
reana_server/validation.py 0.00% 2 Missing ⚠️
reana_server/rest/info.py 50.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #712      +/-   ##
==========================================
- Coverage   60.08%   60.06%   -0.02%     
==========================================
  Files          32       32              
  Lines        3550     3556       +6     
==========================================
+ Hits         2133     2136       +3     
- Misses       1417     1420       +3     
Files with missing lines Coverage Δ
reana_server/config.py 84.32% <100.00%> (+0.17%) ⬆️
reana_server/rest/info.py 75.00% <50.00%> (-1.00%) ⬇️
reana_server/validation.py 69.04% <0.00%> (-1.69%) ⬇️

Alputer added a commit to Alputer/reana-server that referenced this pull request Nov 11, 2024
Alputer added a commit to Alputer/reana-server that referenced this pull request Nov 11, 2024
@Alputer Alputer changed the title feat(dask): set maximum limit for number of workers feat(config): set maximum limit for number of workers Nov 11, 2024
Alputer added a commit to Alputer/reana-server that referenced this pull request Nov 11, 2024

if number_of_workers > REANA_DASK_CLUSTER_MAX_NUMBER_OF_WORKERS:
raise REANAValidationError(
f'The "number_of_workers" provided in the dask resources exceeds the limit ({REANA_DASK_CLUSTER_MAX_NUMBER_OF_WORKERS}).'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cosmetics: "The number of requested Dask workers (123) exceeds the maximum limit (20)."

@tiborsimko tiborsimko merged commit d36b59b into reanahub:master Nov 11, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants