From 0e39cf0bebb232f16f5f3d672c9fd58e88ff2e34 Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Thu, 26 Nov 2015 19:18:50 +1100 Subject: [PATCH] Adjusted Go max procs to have higher precedence. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 5d3f491f..8d926355 100644 --- a/main.go +++ b/main.go @@ -57,6 +57,7 @@ func main() { } log.Printf("Bot '%s' started.\n", bot.config.Name) + AdjustGoMaxProcs() if bot.config.SMS.Enabled { err = CheckSMSGlobalConfigValues() @@ -90,7 +91,6 @@ func main() { log.Println("HTTP Webserver support disabled.") } - AdjustGoMaxProcs() log.Printf("Available Exchanges: %d. Enabled Exchanges: %d.\n", len(bot.config.Exchanges), GetEnabledExchanges()) log.Println("Bot Exchange support:")