mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +00:00
common/fdlimit: remove incorrect MacOS comment from unix file
This commit is contained in:
parent
2e5cd21edf
commit
7e24fd48fe
1 changed files with 0 additions and 1 deletions
|
|
@ -38,7 +38,6 @@ func Raise(max uint64) (uint64, error) {
|
|||
if err := syscall.Setrlimit(syscall.RLIMIT_NOFILE, &limit); err != nil {
|
||||
return 0, err
|
||||
}
|
||||
// MacOS can silently apply further caps, so retrieve the actually set limit
|
||||
if err := syscall.Getrlimit(syscall.RLIMIT_NOFILE, &limit); err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue