Skip to content

Commit

Permalink
echo initial runtime.GOMAXPROCS(0). fixes #40 (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldemailly authored Nov 14, 2023
1 parent ad59962 commit 3d9798b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scli.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
"net/http"
"os"
"os/signal"
"runtime"
"strings"
"time"

Expand Down Expand Up @@ -120,7 +121,8 @@ func ServerMain() bool {
}()
hasStartedServer = true
}
log.S(log.Info, "Starting", log.Str("command", cli.ProgramName), log.Str("version", cli.LongVersion))
log.S(log.Info, "Starting", log.Str("command", cli.ProgramName), log.Str("version", cli.LongVersion),
log.Int("go-max-procs", runtime.GOMAXPROCS(0)))
return hasStartedServer
}

Expand Down

0 comments on commit 3d9798b

Please sign in to comment.