Merge branch 'master' into websocket

This commit is contained in:
Torkel Ödegaard
2017-01-31 08:56:49 +01:00
283 changed files with 29761 additions and 7732 deletions

View File

@@ -55,7 +55,7 @@ func (g *GrafanaServerImpl) Start() {
plugins.Init()
// init alerting
if setting.ExecuteAlerts {
if setting.AlertingEnabled && setting.ExecuteAlerts {
engine := alerting.NewEngine()
g.childRoutines.Go(func() error { return engine.Run(g.context) })
}