mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 14:10:31 +03:00
parent
7c647bcaeb
commit
008170c8a9
3 changed files with 7 additions and 0 deletions
|
@ -28,6 +28,8 @@ import (
|
|||
|
||||
jww "github.com/spf13/jwalterweatherman"
|
||||
|
||||
"go.uber.org/automaxprocs/maxprocs"
|
||||
|
||||
"github.com/bep/clock"
|
||||
"github.com/bep/lazycache"
|
||||
"github.com/bep/overlayfs"
|
||||
|
@ -53,6 +55,8 @@ var (
|
|||
|
||||
// Execute executes a command.
|
||||
func Execute(args []string) error {
|
||||
// Default GOMAXPROCS to be CPU limit aware, still respecting GOMAXPROCS env.
|
||||
maxprocs.Set()
|
||||
x, err := newExec()
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue