Skip to content
Snippets Groups Projects
Commit 4fe4cab0 authored by Andrei Mihu's avatar Andrei Mihu
Browse files

Print max number of OS threads setting in server startup logs.

parent 2b926c6a
Branches
Tags
No related merge requests found
......@@ -7,6 +7,7 @@ The format is based on [keep a changelog](http://keepachangelog.com) and this pr
### Added
- New Lua runtime functions to generate JWT tokens.
- New Lua runtime functions to hash data using RSA SHA256.
- Print max number of OS threads setting in server startup logs.
### Changed
- Log more information when authoritative match handlers receive too many data messages.
......
......@@ -84,7 +84,7 @@ func main() {
configWarnings := server.CheckConfig(logger, config)
startupLogger.Info("Nakama starting")
startupLogger.Info("Node", zap.String("name", config.GetName()), zap.String("version", semver), zap.String("runtime", runtime.Version()), zap.Int("cpu", runtime.NumCPU()))
startupLogger.Info("Node", zap.String("name", config.GetName()), zap.String("version", semver), zap.String("runtime", runtime.Version()), zap.Int("cpu", runtime.NumCPU()), zap.Int("proc", runtime.GOMAXPROCS(0)))
startupLogger.Info("Data directory", zap.String("path", config.GetDataDir()))
startupLogger.Info("Database connections", zap.Strings("dsns", config.GetDatabase().Addresses))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment