(cherry picked from commit 2f85172718)
Co-authored-by: George Robinson <george.robinson@grafana.com>
This commit is contained in:
co-authored by
George Robinson
parent
5a17ef9d6c
commit
96ae3b7e45
@@ -135,7 +135,6 @@ func (s *ScreenshotImageService) NewImage(ctx context.Context, r *models.AlertRu
|
||||
Timeout: screenshotTimeout,
|
||||
}
|
||||
|
||||
//
|
||||
k := fmt.Sprintf("%s-%d-%s", opts.DashboardUID, opts.PanelID, opts.Theme)
|
||||
result, err, _ := s.singleflight.Do(k, func() (interface{}, error) {
|
||||
screenshot, err := s.limiter.Do(ctx, opts, s.screenshots.Take)
|
||||
|
||||
Reference in New Issue
Block a user