Adjusted Go max procs to have higher precedence.

This commit is contained in:
Adrian Gallagher
2015-11-26 19:18:50 +11:00
parent e15a8926cf
commit 0e39cf0beb

View File

@@ -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:")