From de0e5ffd44344040cb1dc05c89191345759d563b Mon Sep 17 00:00:00 2001 From: "Anna (Anya) Parker" <50943381+anna-parker@users.noreply.github.com> Date: Sun, 22 Sep 2024 17:23:37 +0200 Subject: [PATCH] Wait longer when retrying if get_group_info fails. --- ena-submission/scripts/create_project.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ena-submission/scripts/create_project.py b/ena-submission/scripts/create_project.py index 4eb1d95e9..b3e617628 100644 --- a/ena-submission/scripts/create_project.py +++ b/ena-submission/scripts/create_project.py @@ -248,6 +248,7 @@ def project_table_create( group_info = get_group_info(config, row["group_id"])[0]["group"] except Exception as e: logger.error(f"Was unable to get group info for group: {row["group_id"]}, {e}") + time.sleep(30) continue project_set = construct_project_set_object(group_info, config, row, test)