Improve MQTT token registration retry (#8397)

This commit is contained in:
Harshavardhana
2019-10-15 19:39:14 -07:00
committed by GitHub
parent d48fd6fde9
commit f2cc97a44c
5 changed files with 188 additions and 23 deletions

View File

@@ -77,6 +77,8 @@ func init() {
// Set system resources to maximum.
setMaxResources()
logger.Disable = true
// Uncomment the following line to see trace logs during unit tests.
// logger.AddTarget(console.New())
}
@@ -537,8 +539,6 @@ func newTestConfig(bucketLocation string, obj ObjectLayer) (err error) {
return err
}
globalServerConfig.Logger.Console.Enabled = false
// Set a default region.
globalServerConfig.SetRegion(bucketLocation)