← 输入框|bugs.python.org|刷新

➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 asvetlov
收信人 asvetlov, lukasz.langa, vstinner, yselivanov
日期 2019-06-04.11:58:42
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1559649522.3.0.688847544417.issue34037@roundup.psfhosted.org>
In-reply-to
内容
I still think that this is a valuable change but we need to discuss public API.

In fact, in my job we used to override default executor and wait for its shutdown with explicit waiting to make the system robust.

The problem is that loop.close() can "hang" for minutes if there are pending background jobs or slow DNS resolution requests.

We controlled our tasks running in the thread pool carefully and used aiodns for DNS resolving.
历史
日期 用户 动作 参数
2019-06-04 11:58:42asvetlov修改recipients: + asvetlov, vstinner, lukasz.langa, yselivanov
2019-06-04 11:58:42asvetlov修改messageid: <1559649522.3.0.688847544417.issue34037@roundup.psfhosted.org>
2019-06-04 11:58:42asvetlov链接issue34037 messages
2019-06-04 11:58:42asvetlov创建