We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e46323c commit fb41d2dCopy full SHA for fb41d2d
cmd/gotosocial/action/server/server.go
@@ -59,9 +59,8 @@ import (
59
60
// Start creates and starts a gotosocial server
61
var Start action.GTSAction = func(ctx context.Context) error {
62
- _, err := maxprocs.Set(maxprocs.Logger(nil))
63
- if err != nil {
64
- return fmt.Errorf("failed to set CPU limits from cgroup: %s", err)
+ if _, err := maxprocs.Set(maxprocs.Logger(nil)); err != nil {
+ log.Infof(ctx, "could not set CPU limits from cgroup: %s", err)
65
}
66
67
var state state.State
0 commit comments