Skip to content

Commit

Permalink
clickhouse writer: Backoff max_elapsed_time = None
Browse files Browse the repository at this point in the history
  • Loading branch information
let4be committed Jun 7, 2021
1 parent 51b4bfd commit 8951fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/src/clickhouse_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl Writer {
) -> Result<()> {
let state = Arc::new(Mutex::new(WriterState { notify: Vec::new() }));
let map = Arc::new(map);
retry(ExponentialBackoff::default(), || async {
retry(ExponentialBackoff { max_elapsed_time: None, ..ExponentialBackoff::default() }, || async {
Writer::go(
self.cfg.clone(),
client.clone(),
Expand Down

0 comments on commit 8951fb2

Please sign in to comment.