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

相关文章:

  • 2021-09-07
  • 2022-12-23
  • 2022-12-23
  • 2021-11-26
  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
猜你喜欢
  • 2021-09-08
  • 2022-12-23
  • 2021-05-18
  • 2021-09-08
  • 2021-08-19
  • 2022-12-23
  • 2021-08-19
相关资源
相似解决方案