阅读背景:

Django预关闭挂钩关闭挂pymongo连接

来源:互联网 

I'm using pymongo in a Django project, and recently I've began to run into a problem where, upon exiting the main Django process (even through a management command) the pymongo connection will hang, and the process will never exit. Obviously, there's something wrong somewhere in the stack, but for now the best solution seems to be to explicitly close the connection before Django exits. I'm using pymongo in a Django project, and rece




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: