Closed alxempirical closed 8 years ago
The
gpmcc
engine class used to create a new pool for every query, which caused huge resource leak.
To address this issue on this branch, I share a pool between engines. Thus it doesn't make sense for the pool to be terminated when the engine is deleted.
However, I should maintain the old behavior for when people construct a MultiProcessingEngine in the old fashion. I'll fix that up.
Superseeded by #92
Please see comments on PR probcomp/bayeslite#382 , which this PR should be applied in concert with.