Skip to content

Commit ebb6aff

Browse files
authored
Reduce the system load with processes=4
1 parent ef2222e commit ebb6aff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optiscope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def runRange(start, end):
214214
if __name__ == "__main__":
215215
ranges = [(start, min(start + GROUP, len(TESTS))) for start in range(0, len(TESTS), GROUP)]
216216

217-
with multiprocessing.Pool(processes=8) as pool:
217+
with multiprocessing.Pool(processes=4) as pool:
218218
results = pool.starmap(runRange, ranges)
219219

220220
total_passed = sum(r[0] for r in results)

0 commit comments

Comments
 (0)