Skip to content

Commit

Permalink
upgrade dynamodb read limit
Browse files Browse the repository at this point in the history
Signed-off-by: Umesh Lumbhani <[email protected]>
  • Loading branch information
umeshlumbhani247 committed Nov 14, 2023
1 parent 3d2d5bd commit fd909bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cla-backend/cla/models/github_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ def update_change_request(self, installation_id, github_repository_id, change_re
cla.log.debug(f'{fn} - PR: {pull_request.number}, scanning users - '
'determining who has signed a CLA an who has not.')

with concurrent.futures.ThreadPoolExecutor(max_workers=20) as executor:
with concurrent.futures.ThreadPoolExecutor(max_workers=30) as executor:
for user_commit_summary in commit_authors:
cla.log.debug(f'{fn} - PR: {pull_request.number} for user: {user_commit_summary}')
futures.append(executor.submit(handle_commit_from_user, project,user_commit_summary,signed,missing))
Expand Down Expand Up @@ -1376,7 +1376,7 @@ def get_pull_request_commit_authors(pull_request) -> List[UserCommitSummary]:

commit_authors = []

with concurrent.futures.ThreadPoolExecutor(max_workers=20) as executor:
with concurrent.futures.ThreadPoolExecutor(max_workers=30) as executor:
future_to_commit = {executor.submit(get_author_summary, commit, pull_request.number): commit for commit in pull_request.get_commits()}
for future in concurrent.futures.as_completed(future_to_commit):
future_to_commit[future]
Expand Down

0 comments on commit fd909bb

Please sign in to comment.