From 01304722ecf212c66e56668898a7fcd5717f6b70 Mon Sep 17 00:00:00 2001 From: Michal Charemza Date: Mon, 25 Nov 2024 09:10:55 +0000 Subject: [PATCH] feat: increase concurrency when creating/updating IAM roles This change stops one user's IAM role changes from preventing other user's changes from progressing. This doesn't fix a reported issue, just something I noticed. --- dataworkspace/dataworkspace/apps/core/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataworkspace/dataworkspace/apps/core/utils.py b/dataworkspace/dataworkspace/apps/core/utils.py index d00e4a31fe..21b8580729 100644 --- a/dataworkspace/dataworkspace/apps/core/utils.py +++ b/dataworkspace/dataworkspace/apps/core/utils.py @@ -1215,7 +1215,7 @@ def get_team_prefixes(user): @close_all_connections_if_not_in_atomic_block def create_tools_access_iam_role_task(user_id): with cache.lock( - "create_tools_access_iam_role_task", + f"create_tools_access_iam_role_task_{user_id}", blocking_timeout=0, timeout=360, ):