You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
451 B
12 lines
451 B
Index: common/fdlimit/fdlimit_freebsd.go |
|
--- common/fdlimit/fdlimit_freebsd.go.orig 2019-02-20 09:48:12.000000000 +0100 |
|
+++ common/fdlimit/fdlimit_freebsd.go 2019-02-23 19:44:58.765076000 +0100 |
|
@@ -43,7 +43,7 @@ |
|
if err := syscall.Getrlimit(syscall.RLIMIT_NOFILE, &limit); err != nil { |
|
return 0, err |
|
} |
|
- return limit.Cur, nil |
|
+ return uint64(limit.Cur), nil |
|
} |
|
|
|
// Current retrieves the number of file descriptors allowed to be opened by this
|
|
|