Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Commit-Analysis-ML
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ahmad, Rawel
Commit-Analysis-ML
Commits
36e97988
Commit
36e97988
authored
1 year ago
by
Rawel
Browse files
Options
Downloads
Patches
Plain Diff
made num_cores more strict to prevent too many connections
parent
dac01256
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Data/Utils/HeuristicUtils.py
+1
-1
1 addition, 1 deletion
Data/Utils/HeuristicUtils.py
with
1 addition
and
1 deletion
Data/Utils/HeuristicUtils.py
+
1
−
1
View file @
36e97988
...
...
@@ -66,7 +66,7 @@ def extract_most_blamed_commit(heuristic_mapping):
def
main
():
num_cores
=
os
.
cpu_count
()
num_cores
=
min
(
os
.
cpu_count
()
,
150
)
db_repo
=
DBRepository
()
mappings
=
db_repo
.
get_all_entries_with_heuristic_mapping
()
chunk_size
=
calculate_chunk_size
(
mappings
,
num_cores
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment