From 3b42f592e3650dd1ee6880e6c191a54f797458cc Mon Sep 17 00:00:00 2001 From: Enola Knezevic <115070135+enola-dkfz@users.noreply.github.com> Date: Thu, 8 Feb 2024 13:14:24 +0100 Subject: [PATCH] Lowered number of retries 3600 (2 hours) was too much --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 4e2d41d..5b2f893 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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