Increase error counter threshold
This commit is contained in:
parent
0c7040aa41
commit
2463625b68
1 changed files with 1 additions and 1 deletions
|
|
@ -468,7 +468,7 @@ fn main() {
|
|||
|
||||
fn handle_error_with_timeout(err_counter: &mut u32) {
|
||||
*err_counter += 5;
|
||||
if *err_counter > 30 {
|
||||
if *err_counter > 100 {
|
||||
panic!("Too many error! Exiting...")
|
||||
}
|
||||
error!("Trying again in 100 ms...");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue