Commit Graph

5 Commits

Author SHA1 Message Date
Felix Lange 8a134014b4
all: add go:build lines ()
Generated by go1.17 fmt ./...
2021-08-25 18:46:29 +02:00
Péter Szilágyi 2b6158a51e
common/fdlimit: fix macos file descriptors for Go 1.12 2019-02-27 14:21:02 +02:00
Martin Holst Swende f48da43bae common/fdlimit: cap on MacOS file limits, fixes ()
* common/fdlimit: cap on MacOS file limits, fixes 

* common/fdlimit: fix Maximum-check to respect OPEN_MAX

* common/fdlimit: return error if OPEN_MAX is exceeded in Raise()

* common/fdlimit: goimports

* common/fdlimit: check value after setting fdlimit

* common/fdlimit: make comment a bit more descriptive

* cmd/utils: make fdlimit happy path a bit cleaner
2019-02-12 12:29:05 +02:00
Felix Lange a5c0bbb4f4
all: update license information () 2018-02-14 13:49:11 +01:00
Ricardo Domingos 56152b31ac common/fdlimit: Move fdlimit files to separate package ()
* common/fdlimit: Move fdlimit files to separate package

When go-ethereum is used as a library the calling program need to set
the FD limit.

This commit extract fdlimit files to a separate package so it can be
used outside of go-ethereum.

* common/fdlimit: Remove FdLimit from functions signature

* common/fdlimit: Rename fdlimit functions
2018-01-11 22:55:21 +02:00