Skip to content

Commit

Permalink
feat: increase concurrency when creating/updating IAM roles
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
michalc committed Nov 29, 2024
1 parent 42813dc commit 0130472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataworkspace/dataworkspace/apps/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
):
Expand Down

0 comments on commit 0130472

Please sign in to comment.