Skip to content

Add timeout to ThreadPoolExecutor.shutdown#1330

Merged
mrocklin merged 3 commits intodask:masterfrom
mrocklin:thread-pool-timeout
Aug 14, 2017
Merged

Add timeout to ThreadPoolExecutor.shutdown#1330
mrocklin merged 3 commits intodask:masterfrom
mrocklin:thread-pool-timeout

Conversation

@mrocklin
Copy link
Copy Markdown
Member

This significantly reduces memory leaks during testing

@pitrou
Copy link
Copy Markdown
Member

pitrou commented Aug 13, 2017

I am surprised it would reduce memory leaks. Have you found out why?

@mrocklin
Copy link
Copy Markdown
Member Author

I am surprised it would reduce memory leaks. Have you found out why?

No. This surprised me as well. Something was keeping the state of the thread in memory.

@mrocklin mrocklin force-pushed the thread-pool-timeout branch 2 times, most recently from 6311c0d to dcac104 Compare August 14, 2017 12:43
@mrocklin mrocklin force-pushed the thread-pool-timeout branch from dcac104 to f340e06 Compare August 14, 2017 13:13
@mrocklin
Copy link
Copy Markdown
Member Author

I plan to merge this soon if there are no further comments

@mrocklin mrocklin merged commit c3cceee into dask:master Aug 14, 2017
@mrocklin mrocklin deleted the thread-pool-timeout branch August 14, 2017 15:12
@fjetter fjetter mentioned this pull request Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants