In a multiprocessing environment, SSL connections cannot readily be shared between processes. As the CouchDB client may use an SSL connection itself, it should not be shared between processes.
A fix would be to give Database.py a proper __init__ function and require individual processes to instantiate their own DB client. Additionally, the client should be instantiated as a instance field for all Process subclasses that require it.
In a multiprocessing environment, SSL connections cannot readily be shared between processes. As the CouchDB client may use an SSL connection itself, it should not be shared between processes.
A fix would be to give Database.py a proper
__init__
function and require individual processes to instantiate their own DB client. Additionally, the client should be instantiated as a instance field for all Process subclasses that require it.