这是一个用户警告,告诉开发者在使用MongoDB时需要使用一个明确的会话,并设置no_cursor_timeout=True选项,否则游标可能会在30分钟后超时。如果需要更多信息,请参考MongoDB官方文档中的cursor.noCursorTimeout方法。

UserWarning use an explicit session with no_cursor_timeout=True otherwise the cursor may still timeout after 30 minutes for more info see httpsdocsmongodbcomv44referencemethodcursornoCursorTimeout#ses

原文地址: https://www.cveoy.top/t/topic/hrFV 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录