Skip to content

Commit

Permalink
wait only up to 30s
Browse files Browse the repository at this point in the history
waiting a minute seems too long
  • Loading branch information
Dieterbe committed May 2, 2018
1 parent 8e3515b commit b876e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion route/grafananet.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func (route *GrafanaNet) retryFlush(metrics []*schema.MetricData, buffer *bytes.
req.Header.Add("Content-Type", "rt-metric-binary-snappy")
boff := &backoff.Backoff{
Min: 100 * time.Millisecond,
Max: time.Minute,
Max: 30 * time.Second,
Factor: 1.5,
Jitter: true,
}
Expand Down

0 comments on commit b876e54

Please sign in to comment.