Skip to content

Commit

Permalink
commands: Remove the rlimit tweaking on macOS
Browse files Browse the repository at this point in the history
Fixes #3512
  • Loading branch information
bep committed May 23, 2017
1 parent 62fe640 commit bcd32f1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 122 deletions.
5 changes: 0 additions & 5 deletions commands/hugo.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import (
"net/http"
"os"
"path/filepath"
"runtime"
"strings"
"sync"
"time"
Expand Down Expand Up @@ -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

Expand Down
85 changes: 0 additions & 85 deletions commands/limit_darwin.go

This file was deleted.

32 changes: 0 additions & 32 deletions commands/limit_others.go

This file was deleted.

0 comments on commit bcd32f1

Please sign in to comment.