Author vstinner
Recipients asvetlov, vstinner, yselivanov
Date 2018-09-24.15:58:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Maybe.  At least we need to add a "timeout" argument to to let it wait for executor jobs.

The shutdown() method of concurrent.futures.Executor API doesn't accept a timeout. It waits for multiple things.

I added "block_on_close = True" class attribute to socketserver.ForkingMixIn and socketserver.ThreadingMixIn. By default, server_close() waits until all children complete, but the wait is non-blocking if block_on_close is false.
Date User Action Args
2018-09-24 15:58:45vstinnersetrecipients: + vstinner, asvetlov, yselivanov
2018-09-24 15:58:45vstinnersetmessageid: <>
2018-09-24 15:58:45vstinnerlinkissue34037 messages
2018-09-24 15:58:45vstinnercreate