Don't attempt to set file descriptor limit.
Recent versions of Go do it at startup, so only print a warning if the limit is too low.
This commit is contained in:
+3
-3
@@ -1,7 +1,7 @@
|
||||
// +build !linux
|
||||
//go:build !unix
|
||||
|
||||
package limit
|
||||
|
||||
func Nofile(desired uint64) (uint64, error) {
|
||||
return desired, nil
|
||||
func Nofile() (uint64, error) {
|
||||
return 0xFFFF, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user