Skip to content

Commit

Permalink
Troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
openvmp committed Oct 28, 2024
1 parent 4abe2ba commit b56e518
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions partcad/src/partcad/sync_threads.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
# Leave one core for the asyncio event loop and stuff
if cpu_count > 1:
cpu_count -= 1
if cpu_count < 3:
cpu_count = 3
if cpu_count < 7:
cpu_count = 7
executor = ThreadPoolExecutor(cpu_count, "partcad-executor-")


Expand Down

0 comments on commit b56e518

Please sign in to comment.