Skip to content

Commit

Permalink
Lowered number of retries
Browse files Browse the repository at this point in the history
3600 (2 hours) was too much
  • Loading branch information
enola-dkfz authored Feb 8, 2024
1 parent 6e3a109 commit 3b42f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ async fn process_tasks(
}
}

const MAX_TRIES: u32 = 3600;
const MAX_TRIES: u32 = 150;
for attempt in 0..MAX_TRIES {
let comm_result = if let Some(ref err_msg) = error_msg {
beam::fail_task(&task, err_msg).await
Expand Down

0 comments on commit 3b42f59

Please sign in to comment.