Message344548
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. |
|
Date |
User |
Action |
Args |
2019-06-04 11:58:42 | asvetlov | set | recipients:
+ asvetlov, vstinner, lukasz.langa, yselivanov |
2019-06-04 11:58:42 | asvetlov | set | messageid: <1559649522.3.0.688847544417.issue34037@roundup.psfhosted.org> |
2019-06-04 11:58:42 | asvetlov | link | issue34037 messages |
2019-06-04 11:58:42 | asvetlov | create | |
|