答:Disconnecting will close all underlying sockets in the connection pool. If this instance is used again it will be automatically re-opened.

 

转自:http://stackoverflow.com/questions/18401015/how-to-close-a-mongodb-python-connection

http://stackoverflow.com/questions/20613339/close-never-close-connections-in-pymongo

相关文章: