|
|
@@ -3,7 +3,6 @@ package alerting
|
|
|
import (
|
|
|
"errors"
|
|
|
"fmt"
|
|
|
- "time"
|
|
|
|
|
|
"github.com/grafana/grafana/pkg/bus"
|
|
|
"github.com/grafana/grafana/pkg/components/imguploader"
|
|
|
@@ -127,7 +126,7 @@ func (n *notificationService) uploadImage(context *EvalContext) (err error) {
|
|
|
renderOpts := rendering.Opts{
|
|
|
Width: 1000,
|
|
|
Height: 500,
|
|
|
- Timeout: time.Duration(setting.AlertingEvaluationTimeout.Seconds() * 0.9),
|
|
|
+ Timeout: setting.AlertingEvaluationTimeout,
|
|
|
OrgId: context.Rule.OrgId,
|
|
|
OrgRole: m.ROLE_ADMIN,
|
|
|
ConcurrentLimit: setting.AlertingRenderLimit,
|