mirror of
https://github.com/restic/restic.git
synced 2025-12-04 03:38:25 +00:00
automatically adjust GOMAXPROCS when run in a cpu-constrained container
This commit is contained in:
@@ -9,13 +9,13 @@ import (
|
||||
"runtime"
|
||||
godebug "runtime/debug"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
_ "go.uber.org/automaxprocs"
|
||||
|
||||
"github.com/restic/restic/internal/debug"
|
||||
"github.com/restic/restic/internal/errors"
|
||||
"github.com/restic/restic/internal/options"
|
||||
"github.com/restic/restic/internal/restic"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/restic/restic/internal/errors"
|
||||
)
|
||||
|
||||
// cmdRoot is the base command when no other command has been specified.
|
||||
|
||||
Reference in New Issue
Block a user