]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Changed max workers on windows to 60 (#1912)
authorTroy Murray <troysmurray@gmail.com>
Fri, 8 Jan 2021 20:26:42 +0000 (07:26 +1100)
committerGitHub <noreply@github.com>
Fri, 8 Jan 2021 20:26:42 +0000 (12:26 -0800)
src/black/__init__.py

index 9b9903c66458f1ac1583fcc369e1fd65c5ff7838..91f70d96165748741583ce2d7b94007b71111f87 100644 (file)
@@ -741,7 +741,7 @@ def reformat_many(
     worker_count = os.cpu_count()
     if sys.platform == "win32":
         # Work around https://bugs.python.org/issue26903
-        worker_count = min(worker_count, 61)
+        worker_count = min(worker_count, 60)
     try:
         executor = ProcessPoolExecutor(max_workers=worker_count)
     except (ImportError, OSError):