Reload license from DB for all cluster app servers (#5525)

* Reload license from DB for all cluster app servers

* Increase test timeout
Этот коммит содержится в:
Joram Wilander
2017-02-28 16:39:25 -05:00
коммит произвёл Harrison Healey
родитель 5a3bc43668
Коммит 5e9adddb6f
10 изменённых файлов: 126 добавлений и 106 удалений

Просмотреть файл

@@ -3,7 +3,6 @@ package main
import (
"fmt"
"github.com/mattermost/platform/api"
"github.com/mattermost/platform/app"
"github.com/mattermost/platform/model"
"github.com/mattermost/platform/utils"
@@ -41,6 +40,6 @@ func initDBCommandContext(configFileLocation string) {
app.NewServer()
app.InitStores()
if model.BuildEnterpriseReady == "true" {
api.LoadLicense()
app.LoadLicense()
}
}