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

modifying 'check if node_limit was initialized' to not fail if node_limit was set to 0, moving 'set node_limit to 4000000000 if it wasnt initialized' from stopper.h to common.cc #2056

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

KarlKfoury
Copy link
Contributor

@KarlKfoury KarlKfoury commented Aug 29, 2024

fixes issue #2003

-node_limit is set to 4000000000 in the case that params.nodes is not initialized. 
-node_limit is set to params.nodes if params.nodes is initialized as 0 or another int as value
node_limits value now follows the value passed to the stopper in common.cc (= 4000000000 if params.nodes was not initialized, = params.nodes if params.nodes was initialized to an int, 0 included)
@mooskagh
Copy link
Member

just a note, the PR names would be better if they actually summarize the change rather than just named the issue number.
(and "Fixes #2003" in the actual text would link the issue and the PR)

@KarlKfoury KarlKfoury changed the title Issue 2003 modifying 'check if node_limit was initialized' to not fail if node_limit was set to 0, moving 'set node_limit to 4000000000 if it wasnt initialized' from stopper.h to common.cc Aug 29, 2024
@KarlKfoury
Copy link
Contributor Author

KarlKfoury commented Aug 29, 2024

just a note, the PR names would be better if they actually summarize the change rather than just named the issue number. (and "Fixes #2003" in the actual text would link the issue and the PR)

you prefer a summary this detailed and descriptive? or less?

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.

2 participants