Fixing config file watch and config reload on license save (#5954)
* Fixing config file watch and config reload on license save * Fixing config file watch and config reload on license save * Fixing build error * Fixing locking issue
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
c4fd04efb6
Коммит
f0e451a2d3
@@ -100,6 +100,9 @@ func SaveLicense(licenseBytes []byte) (*model.License, *model.AppError) {
|
||||
return nil, model.NewLocAppError("addLicense", model.INVALID_LICENSE_ERROR, nil, "")
|
||||
}
|
||||
|
||||
ReloadConfig()
|
||||
InvalidateAllCaches()
|
||||
|
||||
return license, nil
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user