We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2a786e commit 0f1394dCopy full SHA for 0f1394d
bq/insert.go
@@ -263,7 +263,7 @@ func (in *BQInserter) Flush() error {
263
}
264
metrics.WarningCount.WithLabelValues(in.TableBase(), "", "Quota Exceeded").Inc()
265
// Use some randomness to reduce risk of synchronization across tasks.
266
- time.Sleep(time.Duration((0.5 + rand.Float64()) * in.params.RetryDelay.Seconds()))
+ time.Sleep(time.Seconds((0.5 + rand.Float64()) * in.params.RetryDelay.Seconds()))
267
268
269
// If there is still an error, then handle it.
0 commit comments