Skip to content

Commit

Permalink
updating cargo deps (#14)
Browse files Browse the repository at this point in the history
* updating cargo deps

* retry on all error kinds
  • Loading branch information
dadleyy committed Aug 31, 2022
1 parent be13f71 commit 25c8f91
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/beetle-srv/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/beetle-srv/src/api/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ impl Worker {

Err(error) => {
log::warn!("redis command failed for ({:?}) ({:?}), no retry", error, error.kind());
return Err(error);
retry_count += 1;
lock_result.take();
continue 'retries;
}
}
}
Expand Down

0 comments on commit 25c8f91

Please sign in to comment.