Skip to content

Commit bcd32f1

Browse files
committed
commands: Remove the rlimit tweaking on macOS
Fixes #3512
1 parent 62fe640 commit bcd32f1

File tree

3 files changed

+0
-122
lines changed

3 files changed

+0
-122
lines changed

‎commands/hugo.go‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import (
2525
"net/http"
2626
"os"
2727
"path/filepath"
28-
"runtime"
2928
"strings"
3029
"sync"
3130
"time"
@@ -767,10 +766,6 @@ func (c *commandeer) rebuildSites(events []fsnotify.Event) error {
767766

768767
// newWatcher creates a new watcher to watch filesystem events.
769768
func (c *commandeer) newWatcher(port int) error {
770-
if runtime.GOOS == "darwin" {
771-
tweakLimit()
772-
}
773-
774769
watcher, err := watcher.New(1 * time.Second)
775770
var wg sync.WaitGroup
776771

‎commands/limit_darwin.go‎

Lines changed: 0 additions & 85 deletions
This file was deleted.

‎commands/limit_others.go‎

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)