Skip to content

Commit f85df0e

Browse files
committed
reduce max workers to 24
1 parent 42ad203 commit f85df0e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

codet/codet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ def write_worker():
580580
write_thread.start()
581581

582582
# Process commits in parallel
583-
with ThreadPoolExecutor(max_workers=50) as executor:
583+
with ThreadPoolExecutor(max_workers=24) as executor:
584584
futures = []
585585

586586
for repo_name, commits in self.cooked_commits.items():
@@ -683,7 +683,7 @@ def process_commit(repo_name, commit_hash, commit_data):
683683
return commit_hash, final_commit_data
684684

685685
# Process commits in parallel using ThreadPoolExecutor
686-
with ThreadPoolExecutor(max_workers=50) as executor:
686+
with ThreadPoolExecutor(max_workers=24) as executor:
687687
futures = []
688688

689689
for repo_name, commits in self.cooked_commits.items():

0 commit comments

Comments
 (0)