Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade dynamodb read limit #4168

Merged
merged 1 commit into from
Nov 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading