我刚刚开始构建一个新的Meteor应用程序.到目前为止我唯一做的就是添加一个Collection.它将启动,运行正常约5分钟,然后给我错误消息"无法接收keepalive!退出."
什么未能得到什么保持活力?我认为这与Mongo有关,因为这是我唯一添加的内容.谷歌搜索错误消息只会显示除了显示此错误消息而不是他们的应用程序的Meteor网站.
我的MongoDB集合中已有数据不是由Meteor创建的,如果有任何不同,它的数据超过4GB.
这是完整的应用程序.
pitches_sum = new Meteor.Collection( 'pitches_sum' );
if (Meteor.is_client) {
Template.hello.greeting = function () {
return "Welcome to my site.";
};
Template.hello.events = {
'click input' : function () {
// template data, if any, is available in 'this'
if (typeof console !== 'undefined')
console.log("You pressed the button");
}
};
}
if (Meteor.is_server) {
Meteor.startup(function () {
console.log( '**asdf**' );
});
}
Run Code Online (Sandbox Code Playgroud)
如果我注释掉该pitches_sum = new Meteor.Collection( 'pitches_sum' );行,那么我认为我不会再收到错误消息了.
meteor ×1