gh-115634: Force the process pool to adjust when a process worker exits by gaogaotiantian · Pull Request #115642 · python/cpython · GitHub

github.com

Tin mới

gaogaotiantian:gh-115634

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

ProcessPoolExecutor hangs when 1<max_tasks_per_child<num_submitted//max_workers #115634

Force the process pool to adjust when a process worker exits

📜🤖 Added by blurb_it.

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

Use a lock-protected counter for idle worker number

View reviewed changes

Concurrent futures: max_task_per_child doesn't work #115831

gh-132969: Fix error/hang when shutdown(wait=False) and task exited abnormally #133222

gh-115634: Fix ProcessPoolExecutor deadlock with max_tasks_per_child #140900

Add options for max diffs before restarting process edgi-govdata-archiving/web-monitoring-diff#202

github-actions Bot commented Apr 15, 2026

github-actions Bot commented Apr 15, 2026

This PR is stale because it has been open for 30 days with no activity.