输入banner图图片脚本导航/分类

使用pymongo需要手动关闭MongoDB Connection吗?

答: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

使用pymongo需要手动关闭MongoDB Connection吗?

标签: