hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit ff54b6bddcefab45339d8dc2b13776b92bdc04b9
parent 629e1439e819a7118ae483381d4634f16d3474dd
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Mon, 12 Jun 2017 20:43:19 +0200

commands: Adjust rlimit to 64000

See #3582

Diffstat:
Mcommands/limit_darwin.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/commands/limit_darwin.go b/commands/limit_darwin.go
@@ -75,8 +75,8 @@ func tweakLimit() {
 		jww.ERROR.Println("Unable to obtain rLimit", err)
 	}
 	if rLimit.Cur < rLimit.Max {
-		rLimit.Max = 10000
-		rLimit.Cur = 10000
+		rLimit.Max = 64000
+		rLimit.Cur = 64000
 		err = syscall.Setrlimit(syscall.RLIMIT_NOFILE, &rLimit)
 		if err != nil {
 			jww.WARN.Println("Unable to increase number of open files limit", err)