Permalink
Browse files

commands: Remove the rlimit tweaking on macOS

Fixes #3512
  • Loading branch information...
bep committed May 23, 2017
1 parent 62fe640 commit bcd32f1086c8c604fb22a7496924e41cc46b1605
Showing with 0 additions and 122 deletions.
  1. +0 −5 commands/hugo.go
  2. +0 −85 commands/limit_darwin.go
  3. +0 −32 commands/limit_others.go
View
@@ -25,7 +25,6 @@ import (
"net/http"
"os"
"path/filepath"
"runtime"
"strings"
"sync"
"time"
@@ -767,10 +766,6 @@ func (c *commandeer) rebuildSites(events []fsnotify.Event) error {
// newWatcher creates a new watcher to watch filesystem events.
func (c *commandeer) newWatcher(port int) error {
if runtime.GOOS == "darwin" {
tweakLimit()
}
watcher, err := watcher.New(1 * time.Second)
var wg sync.WaitGroup
View

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.

0 comments on commit bcd32f1

Please sign in to comment.