Reload license from DB for all cluster app servers (#5525)
* Reload license from DB for all cluster app servers * Increase test timeout
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
5a3bc43668
Коммит
5e9adddb6f
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user