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

Set default command length limit to 64k #653

Merged
merged 3 commits into from
Jan 8, 2023
Merged

Conversation

karthikrg
Copy link
Contributor

Various operating systems impose command length limits that are far short of the current Integer.MAX_VALUE default. For example, on MacOS 12.6.2, getconf ARG_MAX returns 1048576.

Hence set a reasonable default command line length limit of 64k.

@rougsig
Copy link
Collaborator

rougsig commented Jan 6, 2023

cc #633

@karthikrg
Copy link
Contributor Author

@rougsig do you know why my test is failing. It says internal error and I don't seem to have access to check more?

@rougsig
Copy link
Collaborator

rougsig commented Jan 7, 2023

One moment.

@rougsig
Copy link
Collaborator

rougsig commented Jan 7, 2023

No logs. Looks like github problem. Restarted it.

@karthikrg
Copy link
Contributor Author

@rougsig I fixed the test and the codenarc failure, can you please rerun the workflow?

@rougsig
Copy link
Collaborator

rougsig commented Jan 7, 2023

@karthikrg done

@karthikrg
Copy link
Contributor Author

@rougsig Thank you. All checks passed. If it looks ok, can you review please?

@rougsig rougsig requested review from rougsig and ejona86 January 7, 2023 22:58
@ejona86 ejona86 merged commit 4052f42 into google:master Jan 8, 2023
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.

3 participants