Appearance
拓扑关闭错误
¥Topology Closed Error
我们观察到的一种可能情况是,迁移到 Meteor 3 后,某些应用会变得部分无响应,并在启动时抛出 MongoTopologyClosedError: Topology is closed
错误。
¥One possible scenario we've seen is that after migrating to Meteor 3, some apps become partially unresponsive and throw MongoTopologyClosedError: Topology is closed
errors on startup.
在这种情况下,你可以考虑增加 MongoDB 实例的服务器选择超时时间,如下所示:
¥In this case, you might consider increasing the server selection timeout for your MongoDB instance, like this:
json
{
"packages": {
"mongo": {
"options": {
"serverSelectionTimeoutMS": 120000
}
}
}
}