Increase error counter threshold

This commit is contained in:
Данила Горнушко 2024-06-05 12:59:13 +03:00
parent 0c7040aa41
commit 2463625b68

View file

@ -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...");