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
Этот коммит содержится в:
Corey Hulen
2017-04-04 08:24:58 -07:00
коммит произвёл Christopher Speller
родитель c4fd04efb6
Коммит f0e451a2d3
5 изменённых файлов: 73 добавлений и 7 удалений

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

@@ -68,8 +68,6 @@ func addLicense(c *Context, w http.ResponseWriter, r *http.Request) {
c.Err = err
return
} else {
app.ReloadConfig()
app.InvalidateAllCaches()
c.LogAudit("success")
w.Write([]byte(license.ToJson()))
}