Author asvetlov
Recipients asvetlov, lukasz.langa, vstinner, yselivanov
Date 2019-06-04.11:58:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559649522.3.0.688847544417.issue34037@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-06-04 11:58:42asvetlovsetrecipients: + asvetlov, vstinner, lukasz.langa, yselivanov
2019-06-04 11:58:42asvetlovsetmessageid: <1559649522.3.0.688847544417.issue34037@roundup.psfhosted.org>
2019-06-04 11:58:42asvetlovlinkissue34037 messages
2019-06-04 11:58:42asvetlovcreate