Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dolt/go/cmd/dolt/fileno_check_darwin.go: Fix setrlimit(RLIMIT_NOFILE,…
… ...) on Darwin. It turns out rlim_max from getrlimit(RLIMIT_NOFILE, ...) is not a valid value for rlim_cur in setrlimit(RLIMIT_NOFILE, ...) on Darwin. Golang used to silently fix this for us, but it stopped doing it. See golang/go#30401. Take reasonable steps to work around it for now.
- Loading branch information